*** VERSION 5.3.0 ***
[NeonServV5.git] / src / cmd_neonserv_topic.c
index b0148190acf4a3ffe2d8b3adb728c5940040d88d..906bd72be1e483c2d0467e99a98ccb70bf41c8d3 100644 (file)
@@ -1,4 +1,4 @@
-/* cmd_neonserv_topic.c - NeonServ v5.1
+/* cmd_neonserv_topic.c - NeonServ v5.3
  * Copyright (C) 2011  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -54,7 +54,7 @@ CMD_BIND(neonserv_cmd_topic) {
         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);