diff options
| author | 2006-12-21 01:04:53 +0000 | |
|---|---|---|
| committer | 2006-12-21 01:04:53 +0000 | |
| commit | 930c2feca5454baf1d1ec87ba004bcb631078476 (patch) | |
| tree | 8fcce688b413b667b222ba94916f623b2eedd6fc /src/users.cpp | |
| parent | This should fix the issue with unsetting +J (diff) | |
| download | inspircd++-930c2feca5454baf1d1ec87ba004bcb631078476.tar.gz inspircd++-930c2feca5454baf1d1ec87ba004bcb631078476.tar.bz2 inspircd++-930c2feca5454baf1d1ec87ba004bcb631078476.zip | |
Crude hotfix to what's been crashing chatspike
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6051 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp index 0266d0e44..93f1c6d84 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1667,6 +1667,9 @@ void userrec::WriteCommonExcept(const std::string &text) for (UCListIter v = this->chans.begin(); v != this->chans.end(); v++) { + chanrec* c = ServerInstance->FindChan(v->first->name); + if (!c) + continue; CUList *ulist = v->first->GetUsers(); for (CUList::iterator i = ulist->begin(); i != ulist->end(); i++) { |
