gate problem
#2

Код:
if(strcmp("/egate2", cmdtext, true, 6) == 0)
Change the 6 to a 7.

When you type /egate this strcmp() will return true since "/egate2" contains "/egate".
Use a command processor like dcmd, zcmd, y_cmd, ... to prevent this kind of thing from happening
Reply


Messages In This Thread
gate problem - by fireboy - 06.01.2013, 09:24
Re: gate problem - by Sinner - 06.01.2013, 09:42

Forum Jump:


Users browsing this thread: 4 Guest(s)