removed getTextBot() function and added textbot parameter to the CMD_BIND header...
[NeonServV5.git] / src / modules / NeonServ.mod / cmd_neonserv_peek.c
index 51de508c12d535381a2d271bc359bd3f1e378bed..7bd56e8f3d5dcd9bac523c5a25df3a261d187fe0 100644 (file)
@@ -1,4 +1,4 @@
-/* cmd_neonserv_peek.c - NeonServ v5.3
+/* cmd_neonserv_peek.c - NeonServ v5.4
  * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -35,9 +35,9 @@ CMD_BIND(neonserv_cmd_peek) {
         return;
     }
     cache->client = client;
-    cache->textclient = getTextBot();
+    cache->textclient = textclient;
     cache->user = user;
-    get_userlist_if_invisible(chan, neonserv_cmd_peek_userlist_lookup, cache);
+    get_userlist_if_invisible(chan, module_id, neonserv_cmd_peek_userlist_lookup, cache);
 }
 
 static USERLIST_CALLBACK(neonserv_cmd_peek_userlist_lookup) {