diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-06 09:18:26 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-06 09:18:26 +0000 |
commit | 2632def464aa1c695c6985a3dbd0302c6061f5fe (patch) | |
tree | 530374a70839091dab4627dc0d6b3de104f6c9dc | |
parent | 3c401ee4f6611883447767db19c7450567c7648e (diff) |
Optimize some more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5431 e03df62e-2008-0410-955e-edbf42e46eb7
-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); |