]> jfr.im git - irc/quakenet/newserv.git/blobdiff - chanserv/chancmds/op.c
fix bug in G stats
[irc/quakenet/newserv.git] / chanserv / chancmds / op.c
index f114118cb6f37c1f5ff9347bdd323718f1c613c5..b4a9cc37e7f61c0d63f33c95bc7744947d6a4f7b 100644 (file)
@@ -143,7 +143,7 @@ int csc_doop(void *source, int cargc, char **cargv) {
   }
 
   if (donotice && bufpos) {
-    sendopnoticetochannel(chanservnick, cip->channel, "%s opped %s", sender, buf);
+    sendopnoticetochannel(chanservnick, cip->channel, "%s opped %s", sender->nick, buf);
   }
       
   localsetmodeflush(&changes, 1);