]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix parts being screwed up, thanks psychon
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 16 Jul 2008 11:58:28 +0000 (11:58 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 16 Jul 2008 11:58:28 +0000 (11:58 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10027 e03df62e-2008-0410-955e-edbf42e46eb7

src/channels.cpp

index b9bc4992c6014d50107dfc462c63d1183d3dd1d9..878fdc1a28dc1e30478e49ff56edd6cebe6f7822 100644 (file)
@@ -522,7 +522,7 @@ long Channel::PartUser(User *user, std::string &reason)
                FOREACH_MOD(I_OnUserPart,OnUserPart(user, this, reason, silent));
 
                if (!silent)
-                       this->WriteChannel(user, "PART %s%s%s", this->name.c_str(), reason.empty() ? "" : ":", reason.c_str());
+                       this->WriteChannel(user, "PART %s%s%s", this->name.c_str(), reason.empty() ? "" : " :", reason.c_str());
 
                user->chans.erase(i);
                this->RemoveAllPrefixes(user);