summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-03-16 05:52:05 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-03-16 05:52:05 +0000
commiteb0c255fadec7c81bc318c944ada86131f5872bd (patch)
tree8cb490da5ad64c4815d24c6f867a399b986fd6d4
parent01994c1ba1ee30352e0ba6a5ff2e9d959dd63f25 (diff)
Fixed os_info to display syntax errors if you entered no text, found by Cronus
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2816 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--src/modules/os_info.c4
-rw-r--r--version.log3
2 files changed, 6 insertions, 1 deletions
diff --git a/src/modules/os_info.c b/src/modules/os_info.c
index 7f9e639cc..90f283e59 100644
--- a/src/modules/os_info.c
+++ b/src/modules/os_info.c
@@ -198,6 +198,8 @@ int myAddNickInfo(User * u)
} else {
moduleNoticeLang(s_NickServ, u, OINFO_SYNTAX);
}
+ } else {
+ moduleNoticeLang(s_NickServ, u, OINFO_SYNTAX);
}
return MOD_CONT;
}
@@ -266,6 +268,8 @@ int myAddChanInfo(User * u)
} else {
moduleNoticeLang(s_ChanServ, u, OCINFO_SYNTAX);
}
+ } else {
+ moduleNoticeLang(s_ChanServ, u, OCINFO_SYNTAX);
}
return MOD_CONT;
}
diff --git a/version.log b/version.log
index c4101e666..fe40593c1 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,11 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="3"
VERSION_EXTRA="-svn"
-VERSION_BUILD="2815"
+VERSION_BUILD="2816"
# $Log$ # Changes since 1.8.3 Release
+#Revision 2816 - Fixed os_info to display syntax errors if you entered no text
#Revision 2815 - Fixed os_info to backup its databases properly with the now-working ModuleDatabaseBackup function
#Revision 2811 - Fixed bug #1140 - Made ModuleDatabaseBackup() not fail when multiple modules want to back up their databases
#Revision 2810 - Fixed bug #1139 - Delete the correct nicks from hs_request database when they are dropped