diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-27 19:40:47 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-27 19:40:47 +0000 |
commit | a1f073f66f4b985bf776b9be2015136209c0c311 (patch) | |
tree | 1413b1367e52ece46803c5d8fb57325c5ebbfd22 /include/modes/cmode_k.h | |
parent | 98a92e20f1fa4a9c7e5749e063414483d4615c2e (diff) |
Change std::pair<bool,std::string> to neater typedef "ModePair"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4557 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modes/cmode_k.h')
-rw-r--r-- | include/modes/cmode_k.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modes/cmode_k.h b/include/modes/cmode_k.h index 94a317df0..8434fc5c4 100644 --- a/include/modes/cmode_k.h +++ b/include/modes/cmode_k.h @@ -5,6 +5,6 @@ class ModeChannelKey : public ModeHandler public: ModeChannelKey(); ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); - std::pair<bool,std::string> ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); + ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, chanrec* channel); }; |