-/* cmd_neonserv_opall.c - NeonServ v5.4
+/* cmd_neonserv_opall.c - NeonServ v5.5
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
CMD_BIND(neonserv_cmd_opall) {
if(!argc || strcmp(argv[0], "FORCE")) {
- reply(getTextBot(), user, "NS_OPALL_SECURITY", chan->name);
+ reply(textclient, user, "NS_OPALL_SECURITY", chan->name);
return;
}
struct neonserv_cmd_opall_cache *cache = malloc(sizeof(*cache));
return;
}
cache->client = client;
- cache->textclient = getTextBot();
+ cache->textclient = textclient;
cache->user = user;
cache->event = event;
if(argc > 1) {