diff options
-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++) |