فهرست منبع

* Fixed cmd_botset not displaying botnick.

svn: 2212
Bryan Drewery 21 سال پیش
والد
کامیت
85faf37acb
2فایلهای تغییر یافته به همراه7 افزوده شده و 1 حذف شده
  1. 3 0
      doc/UPDATES
  2. 4 1
      src/set.c

+ 3 - 0
doc/UPDATES

@@ -14,6 +14,9 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 - Added cmd_iop which will invite the specified nick to a chan and then auto-op them upon joining (does a userhost)
 - Added hijacked invite detection based on server invite notices.
 
+1.2.4
+* Fixed cmd_botset not displaying botnick.
+
 1.2.3
 
 ----- ADDITIONS/IMPROVEMENTS -----

+ 4 - 1
src/set.c

@@ -643,7 +643,10 @@ void cmd_set_real(const char *botnick, int idx, char *par)
   const char *data = NULL, *botdata = NULL;
   int list = 0, i = 0;
 
-  putlog(LOG_CMDS, "*", "#%s# %sset %s", dcc[idx].nick, botnick ? "bot" : "", par);
+  if (botnick)
+    putlog(LOG_CMDS, "*", "#%s# botset %s %s", dcc[idx].nick, botnick, par);
+  else
+    putlog(LOG_CMDS, "*", "#%s# set %s", dcc[idx].nick, par);
 
   if (par[0])
     name = newsplit(&par);