summaryrefslogtreecommitdiff
path: root/src/modules/m_dccallow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Const refsGravatar brain2006-10-201-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5505 e03df62e-2008-0410-955e-edbf42e46eb7
* Insert massive change here.Gravatar brain2006-10-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7
* Always allow a user to dcc themselvesGravatar brain2006-10-161-1/+5
| | | | | | | 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
* Idea from nenolod, dont allow you to add yourself to your own dccallow list (!)Gravatar brain2006-10-161-7/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5482 e03df62e-2008-0410-955e-edbf42e46eb7
* Make parameter count checks more readableGravatar brain2006-10-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5481 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix checks on duration, this isnt valid, you cant compare a char* as an int:Gravatar brain2006-10-161-2/+2
| | | | | | | else if (parameters[1] == 0) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5480 e03df62e-2008-0410-955e-edbf42e46eb7
* Update syntax help to include HELP and LISTGravatar brain2006-10-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5479 e03df62e-2008-0410-955e-edbf42e46eb7
* you can't compare userrec::nick with ==, its a char[] buffer...Gravatar brain2006-10-161-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5478 e03df62e-2008-0410-955e-edbf42e46eb7
* if (dl) { do_something() } else { delete dl; } ???Gravatar brain2006-10-161-4/+0
| | | | | | | 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
* Indents all fixed, its all tabs now. Next person i see using spaces is going ↵Gravatar brain2006-10-161-188/+189
| | | | | | 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
* More crashbug fixage, half way through indent fixGravatar brain2006-10-161-300/+297
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5475 e03df62e-2008-0410-955e-edbf42e46eb7
* This compiles again now -- would have been very unstable in its old state ↵Gravatar brain2006-10-161-1/+1
| | | | | | (oopsy) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5474 e03df62e-2008-0410-955e-edbf42e46eb7
* ReadFlag, oopsGravatar brain2006-10-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5473 e03df62e-2008-0410-955e-edbf42e46eb7
* AURGH 4 space indents :/Gravatar brain2006-10-161-242/+241
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5472 e03df62e-2008-0410-955e-edbf42e46eb7
* GACK! you cannot ConfigReader::ReadValue to a const char*! you need to read ↵Gravatar brain2006-10-161-2/+2
| | | | | | to a string :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5471 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix: DCC types (CHAT/SEND) are case insensitiveGravatar brain2006-10-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5470 e03df62e-2008-0410-955e-edbf42e46eb7
* 1. Tidy up craq (two strcmps, lowercase and uppercase? use strcasecmp)Gravatar brain2006-10-161-354/+354
| | | | | | | 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
* Add m_dccallow module and detail configuration in inspircd.conf.exampleGravatar jamie2006-10-161-0/+513
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5468 e03df62e-2008-0410-955e-edbf42e46eb7