summaryrefslogtreecommitdiff
path: root/src/modules/m_dccallow.cpp
AgeCommit message (Collapse)Author
2006-10-20Const refsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5505 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19Insert massive change here.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Always allow a user to dcc themselvesbrain
Only return CMD_SUCCESS when a user is added or deleted, theres no use in propogating HELP or LIST git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5483 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Idea from nenolod, dont allow you to add yourself to your own dccallow list (!)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5482 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Make parameter count checks more readablebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5481 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Fix checks on duration, this isnt valid, you cant compare a char* as an int:brain
else if (parameters[1] == 0) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5480 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Update syntax help to include HELP and LISTbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5479 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16you can't compare userrec::nick with ==, its a char[] buffer...brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5478 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16if (dl) { do_something() } else { delete dl; } ???brain
no no no, you cannot delete null pointers! :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5477 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Indents all fixed, its all tabs now. Next person i see using spaces is going ↵brain
to get clobbered with the wide end of a tennis racket! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5476 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16More crashbug fixage, half way through indent fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5475 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16This compiles again now -- would have been very unstable in its old state ↵brain
(oopsy) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5474 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16ReadFlag, oopsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5473 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16AURGH 4 space indents :/brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5472 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16GACK! you cannot ConfigReader::ReadValue to a const char*! you need to read ↵brain
to a string :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5471 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Fix: DCC types (CHAT/SEND) are case insensitivebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5470 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-161. Tidy up craq (two strcmps, lowercase and uppercase? use strcasecmp)brain
2. TABS AND ONLY TABS not eight spaces! :P (or fear the wrath of om and w00t) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5469 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Add m_dccallow module and detail configuration in inspircd.conf.examplejamie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5468 e03df62e-2008-0410-955e-edbf42e46eb7