From eb0c255fadec7c81bc318c944ada86131f5872bd Mon Sep 17 00:00:00 2001 From: Adam- Date: Tue, 16 Mar 2010 05:52:05 +0000 Subject: [PATCH] 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 --- src/modules/os_info.c | 4 ++++ version.log | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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