L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 11:39:10 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Coding and development discussion > Topic: bug in 0.3.1 admin.php
Pages: [1]   Go Down
« previous next »
Print
Author Topic: bug in 0.3.1 admin.php  (Read 489 times)
0 Members and 1 Guest are viewing this topic.
Akarah
BeBot Contributor
Rookie
*******
Offline Offline

Posts: 72


WWW
bug in 0.3.1 admin.php
« on: November 27, 2005, 10:49:17 AM »

in function tell, the first if should be:
Code:

if (preg_match("/^" . $this -> bot -> commpre . "admin$/i", $msg))


or it never proceeds to any further matches (missing $ at the end of the regex)

[edit]
can also add this line to the gc function in the same fashion:
Code:

      if (preg_match("/^" . $this -> bot -> commpre . "admin$/i", $msg))
        $this -> bot -> send_gc($this -> group_show());
      else if (existing stuff) ...


and probably pgroup as well.. never hurts to spam the admin list imo Smiley

[/edit]


cheers,

/Aka
Logged
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
bug in 0.3.1 admin.php
« Reply #1 on: November 27, 2005, 12:21:25 PM »

Fixed and committed to SVN
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Coding and development discussion > Topic: bug in 0.3.1 admin.php
« previous next »
 
Jump to:  

Recent
!items database
by Zeephonz
[Today at 08:05:21 PM]

Log playtime from buddys ...
by IKShadow
[Today at 06:48:12 AM]

[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]
Stats
Members
Total Members: 1244
Latest: Armonkens
Stats
Total Posts: 11146
Total Topics: 1505
Online Today: 25
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 16
Total: 17
Elesar1

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.492 seconds with 28 queries. (Pretty URLs adds 0.024s, 4q)
Loading...