-/* cmd_neonserv_adduser.c - NeonServ v5.1
+/* cmd_neonserv_adduser.c - NeonServ v5.3
* Copyright (C) 2011 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
reply(getTextBot(), user, "NS_INVALID_ACCESS", caccess);
return;
}
- if(caccess >= getChannelAccess(user, chan, 0)) {
+ if(caccess >= getChannelAccess(user, chan)) {
if(isGodMode(user)) {
event->flags |= CMDFLAG_OPLOG;
} else {