From eb0c255fadec7c81bc318c944ada86131f5872bd Mon Sep 17 00:00:00 2001 From: Adam- Date: Tue, 16 Mar 2010 05:52:05 +0000 Subject: 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 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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; } -- cgit