mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-23 17:39:03 -04:00
Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7
13 lines
475 B
C++
13 lines
475 B
C++
#include "mode.h"
|
|
|
|
class InspIRCd;
|
|
|
|
class ModeChannelLimit : public ModeHandler
|
|
{
|
|
public:
|
|
ModeChannelLimit(InspIRCd* Instance);
|
|
ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding);
|
|
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);
|
|
};
|