diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-01 21:48:28 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-01 21:48:28 +0000 |
commit | 0ae2cb132ba4a631edbc232f483f72724856f5fb (patch) | |
tree | e641ef67b2b41f53f04afb3a3422c1480236d3b3 /src/commands.cpp | |
parent | 3eee96f75bd68d6b26492f3588edfc5d74b5d339 (diff) |
*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
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 5 |
1 files 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++) |