20.11.2009, 17:22
change:
if(strcmp(cmd, "/kick", true) == 0)
in:
if (strcmp("/kick", cmdtext, true, 5) == 0)
5 is the lenght of the command inluding the slash
haven't wacthed the rest of you code, think thats it...
if(strcmp(cmd, "/kick", true) == 0)
in:
if (strcmp("/kick", cmdtext, true, 5) == 0)
5 is the lenght of the command inluding the slash
haven't wacthed the rest of you code, think thats it...