diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-21 23:45:19 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-21 23:45:19 +0000 |
commit | 123eac3f25ce4dd3142b4ac66eb321f7df1e23e4 (patch) | |
tree | 7503b5ce313dc18edc4b39dd0e580ba6ea7fc930 /src/modules/m_spanningtree/main.h | |
parent | 5d03657b63b0b77edc25cd566d9aab134d930bf7 (diff) |
Change module API to use LocalUser* where correct
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/main.h')
-rw-r--r-- | src/modules/m_spanningtree/main.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/main.h b/src/modules/m_spanningtree/main.h index 692442598..b9d5debb3 100644 --- a/src/modules/m_spanningtree/main.h +++ b/src/modules/m_spanningtree/main.h @@ -161,7 +161,7 @@ class ModuleSpanningTree : public Module ModResult OnPreCommand(std::string &command, std::vector<std::string>& parameters, User *user, bool validated, const std::string &original_line); void OnPostCommand(const std::string &command, const std::vector<std::string>& parameters, User *user, CmdResult result, const std::string &original_line); void OnGetServerDescription(const std::string &servername,std::string &description); - void OnUserConnect(User* source); + void OnUserConnect(LocalUser* source); void OnUserInvite(User* source,User* dest,Channel* channel, time_t); void OnPostTopicChange(User* user, Channel* chan, const std::string &topic); void OnWallops(User* user, const std::string &text); @@ -169,7 +169,7 @@ class ModuleSpanningTree : public Module void OnUserMessage(User* user, void* dest, int target_type, const std::string &text, char status, const CUList &exempt_list); void OnBackgroundTimer(time_t curtime); void OnUserJoin(Membership* memb, bool sync, bool created, CUList& excepts); - ModResult OnChangeLocalUserHost(User* user, const std::string &newhost); + void OnChangeHost(User* user, const std::string &newhost); void OnChangeName(User* user, const std::string &gecos); void OnChangeIdent(User* user, const std::string &ident); void OnUserPart(Membership* memb, std::string &partmessage, CUList& excepts); |