Просмотр исходного кода

* Port [2962] to 1.2.11
* Fix /MSG invite not showing proper cmd for usage. (Fixes #278)


svn: 2963

Bryan Drewery 20 лет назад
Родитель
Сommit
c3f8066c43
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/mod/irc.mod/msgcmds.c

+ 1 - 0
doc/UPDATES

@@ -13,6 +13,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Fixed problems with symlinked binaries. (fixes #240)
 * Fixed CIDR masks not being checked on JOIN. (also fixes some other cases of CIDR matching) (fixes #270)
 * Fixed a segfault from removing bots. (fixes #271)
+* Fix /MSG invite not showing proper cmd for usage. (Fixes #278)
 
 1.2.10 - http://tracker.shatow.net/milestone/1.2.10
 * Removed old references to '+/-manop' and '+/-nomop' for chaninfo in help file.

+ 1 - 1
src/mod/irc.mod/msgcmds.c

@@ -240,7 +240,7 @@ static int msg_invite(char *nick, char *host, struct userrec *u, char *par)
       return BIND_RET_BREAK;
     }
     if (!(chan = findchan_by_dname(par))) {
-      dprintf(DP_HELP, "NOTICE %s :Usage: /MSG %s invite <pass> <channel>\n", nick, botname);
+      dprintf(DP_HELP, "NOTICE %s :Usage: /MSG %s %s <pass> <channel>\n", nick, botname, msginvite);
       return BIND_RET_BREAK;
     }
     if (!channel_active(chan)) {