diff options
Diffstat (limited to 'src/message.cpp')
-rw-r--r-- | src/message.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.cpp b/src/message.cpp index 8614acf0e..042901503 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -397,7 +397,7 @@ std::string chlist(userrec *user,userrec* source) { return lst; } - bool userinvisible = (strchr(user->modes,'i')); + bool userinvisible = (user->modebits & UM_INVISIBLE); for (std::vector<ucrec*>::const_iterator i = user->chans.begin(); i != user->chans.end(); i++) { if ((((ucrec*)(*i))->channel != NULL) && (((ucrec*)(*i))->channel->name)) |