Преглед изворни кода

* Ported [2665] to 1.2.9 (ACTION ctcp log msg (fixes #138))

svn: 2666
Bryan Drewery пре 20 година
родитељ
комит
f9a3179236
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/mod/server.mod/servmsg.c

+ 1 - 0
doc/UPDATES

@@ -49,6 +49,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * The respository is now stored in subversion; binaries now hold a revision number.
 * cmd_botcmd <?> now displays which bot is chosen in the log. (#192)
 * There is now a 'datadir' option in the binary config. The tempdir is still automatically found. (#162)
+* Fixed ACTION ctcp log msg to be more standard. (fixes #138)
 
 1.2.8
 * Fixed [bot]* cmds depending on case of botnicks.

+ 1 - 1
src/mod/server.mod/servmsg.c

@@ -536,7 +536,7 @@ static int gotmsg(char *from, char *msg)
 	      }
 
 	      if (!strcmp(code, "ACTION")) {
-                putlog(LOG_MSGS, "*", "Action to %s: %s %s", to, nick, ctcp);
+                putlog(LOG_MSGS, "*", "* %s (%s): %s", nick, uhost, ctcp);
               } else {
                 putlog(LOG_MSGS, "*", "CTCP %s: %s from %s (%s)", code, ctcp, nick, uhost);
               }			/* I love a good close cascade ;) */