diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 3b9835f67..72b965741 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2660,7 +2660,11 @@ void server_mode(char **parameters, int pcnt, userrec *user) dest = Find(parameters[0]); - log(DEBUG,"server_mode on %s",dest->nick); + // fix: ChroNiCk found this - we cant use this as debug if its null! + if (dest) + { + log(DEBUG,"server_mode on %s",dest->nick); + } if ((dest) && (pcnt > 1)) { |