From 83be005aa1f65eb9b33a6bec176e5c44076087cc Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 28 Jul 2006 12:01:07 +0000 Subject: Fix the obligotary typos git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4570 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index c32a25ef7..9957f88a6 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -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 params; params.push_back(chan->name); -- cgit v1.2.3