From 0ae2cb132ba4a631edbc232f483f72724856f5fb Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 1 Dec 2005 21:48:28 +0000 Subject: *really* reverted is_uline change -- \!server returns false, \!*server returns true. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2087 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/commands.cpp b/src/commands.cpp index a2514f29a..04d54d18a 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1526,8 +1526,9 @@ bool is_uline(const char* server) { char ServName[MAXBUF]; - /* fix, by w00t - per nenolod. I don't see how we can want '""' as a uline. */ - if (!server || !(*server)) + if (!server) + return false; + if (!(*server)) return true; for (int i = 0; i < ConfValueEnum("uline",&config_f); i++) -- cgit v1.2.3