diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spy.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/modules/m_spy.cpp b/src/modules/m_spy.cpp index b09a05833..86e7128d6 100644 --- a/src/modules/m_spy.cpp +++ b/src/modules/m_spy.cpp @@ -42,11 +42,6 @@ void spy_userlist(userrec *user, chanrec *c) CUList *ulist= c->GetUsers(); - /* Improvement by Brain - this doesnt change in value, so why was it inside - * the loop? - */ - bool has_user = c->HasUser(user); - for (CUList::iterator i = ulist->begin(); i != ulist->end(); i++) { size_t ptrlen = snprintf(ptr, MAXBUF, "%s%s ", c->GetPrefixChar(i->second), i->second->nick); |