-/* cmd_neonserv_topic.c - NeonServ v5.0
- * Copyright (C) 2011 Philipp Kreil (pk910)
+/* cmd_neonserv_topic.c - NeonServ v5.3
+ * Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
logEvent(event);
return;
}
- int uaccess = getChannelAccess(user, chan, 0);
+ int uaccess = getChannelAccess(user, chan);
if(uaccess >= atoi((row[3] ? row[3] : default_row[1]))) {
//just set the topic
newtopic = merge_argv(argv, 0, argc);