summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/protocol/inspircd11.c14
-rw-r--r--version.log6
3 files changed, 14 insertions, 7 deletions
diff --git a/Changes b/Changes
index ffd5489db..6bcfd488e 100644
--- a/Changes
+++ b/Changes
@@ -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