[Editors]
-Focused=2
-Order=7,3,2,6,25,24,4,5,0,-1,1
+Focused=-1
+Order=7,3,2,6,25,24,4,5,-1,1,0
[Editor_0]
Open=1
Top=0
-CursorCol=1
-CursorRow=1
-TopLine=1
+CursorCol=18
+CursorRow=48
+TopLine=35
LeftChar=1
[Editor_1]
Open=1
Top=0
-CursorCol=2
-CursorRow=4535
-TopLine=4481
+CursorCol=12
+CursorRow=4002
+TopLine=3971
LeftChar=1
[Editor_2]
Open=1
-Top=1
-CursorCol=28
-CursorRow=246
-TopLine=219
+Top=0
+CursorCol=1
+CursorRow=275
+TopLine=95
LeftChar=1
[Editor_3]
[Editor_4]
Open=1
Top=0
-CursorCol=29
-CursorRow=299
-TopLine=280
+CursorCol=1
+CursorRow=149
+TopLine=121
LeftChar=1
[Editor_5]
Top=0
CursorCol=31
CursorRow=75
-TopLine=1
+TopLine=7
LeftChar=1
[Editor_11]
-Open=1
+Open=0
Top=0
CursorCol=1
-CursorRow=1
+CursorRow=7
TopLine=1
LeftChar=1
[Editor_20]
Open=1
Top=0
-CursorCol=26
-CursorRow=482
-TopLine=436
+CursorCol=5
+CursorRow=445
+TopLine=402
LeftChar=1
[Editor_21]
Top=0
[Editor_34]
Open=1
-Top=0
-CursorCol=2
-CursorRow=45
-TopLine=1
+Top=1
+CursorCol=1
+CursorRow=83
+TopLine=78
LeftChar=1
int MOD_RESULT = 0;
- FOREACH_RESULT(OnUserPreMessage(user,chan,TYPE_USER,std::string(parameters[1])));
+ FOREACH_RESULT(OnUserPreMessage(user,chan,TYPE_CHANNEL,std::string(parameters[1])));
if (MOD_RESULT) {
return;
}
#include "modules.h"
#include "ctables.h"
#include "inspircd_io.h"
+#include "wildcard.h"
// class type for holding an extended mode character - internal to core
WriteOpers("%s",s.c_str());
}
+bool Server::MatchText(std::string sliteral, std::string spattern)
+{
+ char literal[MAXBUF],pattern[MAXBUF];
+ strncpy(literal,sliteral.c_str(),MAXBUF);
+ strncpy(pattern,spattern.c_str(),MAXBUF);
+ return match(literal,pattern);
+}
+
void Server::SendToModeMask(std::string modes, int flags, std::string text)
{
WriteMode(modes.c_str(),flags,"%s",text.c_str());
ConfigReader::~ConfigReader()
{
+ if (this->cache)
+ delete this->cache;
}