summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index baef05e28..ad358211d 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1669,7 +1669,7 @@ std::string userrec::ChannelList(userrec* source)
*/
if ((source == this) || (*source->oper && ServerInstance->Config->OperSpyWhois) || (((!rec->channel->modes[CM_PRIVATE]) && (!rec->channel->modes[CM_SECRET])) || (rec->channel->HasUser(source))))
{
- list.append(cmode(this, rec->channel)).append(rec->channel->name).append(" ");
+ list.append(rec->channel->GetStatusChar(this)).append(rec->channel->name).append(" ");
}
}
}