diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-15 20:59:05 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-15 20:59:05 +0000 |
commit | b57c7f4e466f72fdd2ac3deca42caa1ea7748338 (patch) | |
tree | 3cbfe66354be62ddd22d7614e9d6116f465e807b /src/modules/m_servprotect.cpp | |
parent | 694e307c09334c21aaf1a6c3f0b7b6d95440dd3e (diff) |
In the grand tradition of huge fucking commits:
- chanrec -> Channel
- userrec -> User
Enjoy.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_servprotect.cpp')
-rw-r--r-- | src/modules/m_servprotect.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_servprotect.cpp b/src/modules/m_servprotect.cpp index d1ea08c73..852ad6d3f 100644 --- a/src/modules/m_servprotect.cpp +++ b/src/modules/m_servprotect.cpp @@ -28,7 +28,7 @@ class ServProtectMode : public ModeHandler public: ServProtectMode(InspIRCd* Instance) : ModeHandler(Instance, 'k', 0, 0, false, MODETYPE_USER, true) { } - ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding) + ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding) { return MODEACTION_DENY; } @@ -66,7 +66,7 @@ class ModuleServProtectMode : public Module return Version(1,1,0,0,VF_COMMON,API_VERSION); } - virtual void OnWhois(userrec* src, userrec* dst) + virtual void OnWhois(User* src, User* dst) { if (dst->IsModeSet('k')) { @@ -74,7 +74,7 @@ class ModuleServProtectMode : public Module } } - virtual int OnKill(userrec* src, userrec* dst, const std::string &reason) + virtual int OnKill(User* src, User* dst, const std::string &reason) { if (src == NULL) return 0; @@ -88,7 +88,7 @@ class ModuleServProtectMode : public Module return 0; } - virtual int OnWhoisLine(userrec* src, userrec* dst, int &numeric, std::string &text) + virtual int OnWhoisLine(User* src, User* dst, int &numeric, std::string &text) { return ((src != dst) && (numeric == 319) && dst->IsModeSet('k')); } |