]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix the obligotary typos
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 28 Jul 2006 12:01:07 +0000 (12:01 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 28 Jul 2006 12:01:07 +0000 (12:01 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4570 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree.cpp

index c32a25ef7204d177be1657ac4b504c6202998bef..9957f88a6d55bce6497ae99f28da91c94be13b6b 100644 (file)
@@ -2205,7 +2205,7 @@ class TreeSocket : public InspSocket
                                        std::string nick_whoised = prefix;
                                        unsigned long signon = atoi(params[1].c_str());
                                        unsigned long idle = atoi(params[2].c_str());
-                                       if ((who_to_send_to) && (IS_LOCAL(who_to_send_to->fd)))
+                                       if ((who_to_send_to) && (IS_LOCAL(who_to_send_to)))
                                                do_whois(who_to_send_to,u,signon,idle,nick_whoised.c_str());
                                }
                                else
@@ -3990,7 +3990,7 @@ class ModuleSpanningTree : public Module
 
        virtual void OnUserKick(userrec* source, userrec* user, chanrec* chan, const std::string &reason)
        {
-               if ((source) && (IS_LOCAL(source->fd)))
+               if ((source) && (IS_LOCAL(source)))
                {
                        std::deque<std::string> params;
                        params.push_back(chan->name);