diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2007-12-03 15:59:39 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2007-12-03 15:59:39 +0000 |
commit | 2ad0fde82615d1765287d287bc444837d5e91ad4 (patch) | |
tree | 277055c8671efbe2e609d274449bb0e2e551ebb0 | |
parent | 4517a6e2c1c57604a9e4532813a006384c0eba74 (diff) |
BUILD : 1.7.19 (1314) BUGS : 797 NOTES : Fixed malformed command for chgident in inspircd11.c
git-svn-id: svn://svn.anope.org/anope/trunk@1314 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1032 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/protocol/inspircd11.c | 14 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 14 insertions, 7 deletions
@@ -50,6 +50,7 @@ Anope Version S V N 12/02 F Fixed a typo in install.js. [#804] 12/02 F Fixed the protect commands in inspircd11.c. [#805] 12/03 F Unregistered users now have access level 0 instead of -1. [#796] +12/03 F Malformed command for InspIRCd 1.1. [#797] Provided by Trystan <trystan@nomadirc.net> - 2007 08/29 F Module runtime directory not always properly cleaned up. [#768] diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c index 29234c1ea..ebe0a553c 100644 --- a/src/protocol/inspircd11.c +++ b/src/protocol/inspircd11.c @@ -944,13 +944,15 @@ void inspircd_cmd_chghost(char *nick, char *vhost) /* CHGIDENT */ void inspircd_cmd_chgident(char *nick, char *vIdent) { - if (has_chgidentmod == 1) { - if (!nick || !vIdent) { - return; - } - send_cmd(s_OperServ, "CHGIDENT %s %s", nick, vIdent); +void inspircd_cmd_chgident(char *nick, char *vIdent) +{ + if (has_chgidentmod == 1) { + if (!nick || !vIdent || !*vIdent) { + return; + } + send_cmd(s_OperServ, "CHGIDENT %s %s", nick, vIdent); } else { - anope_cmd_global(s_OperServ, "CHGIDENT not loaded!"); + anope_cmd_global(s_OperServ, "CHGIDENT not loaded!"); } } diff --git a/version.log b/version.log index 2f11196a9..ed50c9497 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="19" VERSION_EXTRA="-svn" -VERSION_BUILD="1313" +VERSION_BUILD="1314" # $Log$ # +# BUILD : 1.7.19 (1314) +# BUGS : 797 +# NOTES : Fixed malformed command for chgident in inspircd11.c +# # BUILD : 1.7.19 (1313) # BUGS : 796 # NOTES : Fixed unregistered users getting access level -1 instead of 0 so they could never get opped |