diff options
author | sjaz <sjaz@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-06-05 16:06:48 +0000 |
---|---|---|
committer | sjaz <sjaz@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-06-05 16:06:48 +0000 |
commit | 2eae73808355d8a26886bfcf42f03db02e53f1e6 (patch) | |
tree | 7f5c446e7b7210a489a58ed53d2933d5f15176f0 /src/core/cs_info.c | |
parent | 6bed75b41f24d98d293cd6dfb4a01e9cae34dd8f (diff) |
Patch to fix issue with /CS INFO (Thanks Adam)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2312 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_info.c')
-rw-r--r-- | src/core/cs_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_info.c b/src/core/cs_info.c index b9498e3df..f4f2b5b17 100644 --- a/src/core/cs_info.c +++ b/src/core/cs_info.c @@ -44,7 +44,7 @@ class CommandCSInfo : public Command ChannelInfo *ci; char buf[BUFSIZE]; struct tm *tm; - bool has_auspex = u->nc->HasPriv("chanserv/auspex"); + bool has_auspex = u->nc && u->nc->HasPriv("chanserv/auspex"); int show_all = 0; time_t expt; |