Page 1 of 1

the module does not work cmdflood -help please

Posted: Tue Jan 20, 2015 8:05 pm
by manuti
deep and compiled in my vps

ircdlatin@lvps217-8-245-176:~/Unreal3.2.10.4$ make custommodule MODULEFILE=cmdflood
cd src; make 'CFLAGS=-I../include -I/home/ircdlatin/Unreal3.2.10.4/extras/regexp/include -I/home/ircdlatin/Unreal3.2.10.4/extras/c-ares/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -Wl,-export-dynamic
'CRYPTOLIB=-lssl -lcrypto' 'CRYPTOINCLUDES=' 'URL=' MODULEFILE=cmdflood 'EXLIBS=' custommodule
make[2]: Entering directory `/home/ircdlatin/Unreal3.2.10.4/src/modules'
gcc -I../include -I/home/ircdlatin/Unreal3.2.10.4/extras/regexp/include -I/home/ircdlatin/Unreal3.2.10.4/extras/c-ares/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -Wl,-export-dynamic -fPIC -DPIC -shared -DDYNAMIC_LINKING \
-o cmdflood.so cmdflood.c
make[2]: Leaving directory `/home/ircdlatin/Unreal3.2.10.4/src/modules'
make[1]: Leaving directory `/home/ircdlatin/Unreal3.2.10.4/src'

/* load module */
loadmodule "src/modules/cmdflood.so";

/* conf. add */
cmdflood {
lusers 3:70;
staff 3:70;
ircops 3:70;
};

** and this goes out for me in the irc when I recharge everything ****
[16:01] -speed.latinchat.org- *** Notice -- sedition is rehashing server config file
-
[16:01] unrealircd.conf Rehashing
-
[16:01] -speed.latinchat.org- *** Notice -- Loading IRCd configuration ..
-
[16:01] -speed.latinchat.org- *** Notice -- error: unrealircd.conf:2089: unknown directive set::cmdflood
-
[16:01] -speed.latinchat.org- *** Notice -- error: 1 errors encountered
-
[16:01] -speed.latinchat.org- *** Notice -- error: IRCd configuration failed to pass testing

and the error line is 2089

/* line error 2089 */
cmdflood {
lusers 3:70;
staff 3:70;
ircops 3:70;
};


helpme please bros :DDD

Re: the module does not work cmdflood -help please

Posted: Wed Jan 21, 2015 6:48 pm
by katsklaw
1. the module is 10+ years old, so there is a good chance it's not going to work.
2. your error says unknown directive set::cmdflood, suggesting you have the config block inside the set block when it shouldn't be.