aboutsummaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
authorGravatar brain2007-05-04 16:30:16 +0000
committerGravatar brain2007-05-04 16:30:16 +0000
commitf4ec9aaf370f5fb895b7cad6d5cd849cc28b699d (patch)
treeee9f3783eb61411dbbfeb867cfed6c5d98ea23d2 /src/channels.cpp
parentUpdate conf (diff)
Fix bug where if an op is in channel then does /names later, all the non-ops dissapear!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6877 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 700487af9..ccb230005 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -821,7 +821,7 @@ void chanrec::UserList(userrec *user, CUList *ulist)
char* ptr = list + dlen;
if (!ulist)
- ulist= this->GetUsers();
+ ulist = this->GetUsers();
/* Improvement by Brain - this doesnt change in value, so why was it inside
* the loop?