summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
Commit message (Expand)AuthorAgeFilesLines
* Remove deprecated InspIRCd::Log() method so people don't use it etc•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9320 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-041-21/+0
* Convert remaining InspIRCd::Log() calls to new logging system•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-221-2/+2
* Merge warning about InspIRCd::Log()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8945 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-151-2/+1
* Make -nofork work properly with logging now.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8944 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-151-2/+9
* Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8892 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-111-6/+6
* Code for loading <log method=file> tags from config, but this still needs to ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8885 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-101-1/+3
* Per-logstream loglevels.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8871 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-101-1/+1
* w00t br0ked it! :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8869 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-101-1/+1
* New logging implementation. Also write messages about InspIRCd::Log() being d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8858 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-091-41/+4
* Move some stuff to usermanager, remove a little header insanity, remove trace...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8790 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-021-127/+11
* Remove InspIRCd::WriteOpers in favour of snomask O•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-171-32/+0
* Move a number of methods from class InspIRCd to class UserManager•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8726 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-171-31/+0
* Validate <server:id> on startup if provided, thx Brain•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8721 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-0/+10
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-2/+2
* Pedantic safe•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8317 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-231-1/+1
* Remove the need for a bunch of the hard coded arrays/hashes by scanning the s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-221-0/+2
* Remove a wrapper, it's easy to read as is :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8300 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-221-6/+0
* Move InspIRCd::IsValidMask() to helperfuncs.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8298 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-221-0/+32
* Move some other stuff to helperfuncs (uline related, and timestring)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8213 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-0/+22
* Move InspIRCd::Duration from command_parse to helperfuncs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8211 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-0/+45
* In the grand tradition of huge fucking commits:••• - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-21/+21
* Fixed bug #404; this was caused by recieving multiple OPERTYPEs from a remote...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8084 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-09-261-1/+1
* Move everything module-related out of InspIRCd and into ModuleManager, there ...•••All modules in the core distribution should also be updated in line with these changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7985 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2007-08-281-24/+0
* Remove more unnecessary header traffic•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-4/+0
* Add FindNickOnly, that wont fall through to uid checks if isdigit(*first). We...•••Fix cmd_nick to not treat all nicks as invalid and make the client give up. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7883 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-1/+21
* Add uuid hash_map - its management is automatic via userrec constructors/dest...•••Note that this means 'fake' users used to set modes etc get a uid, but this isnt a major thing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7876 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-9/+4
* Fix obligotary typos•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7870 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-2/+2
* When a numeric nick is passed to FindNick, we call FindUUID instead•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7867 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-0/+6
* Fix me not being able to code..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7856 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-3/+5
* Add InspIRCd::FindUUID() methods. Currently, these work off an iteration arou...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7855 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-0/+18
* Raft of fixes so that inspircd can call Cleanup() and Exit() in less 'stable'...•••Also fix OpenLog to not always exit on error, but to return a bool instead, which is much more friendly on rehash (you don't want /REHASH dieing your server if you cant write the log!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7804 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-231-5/+6
* Fix segfault on 'cant open logfile' on startup, on trying to call Exit. inste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7802 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-231-1/+1
* Turn IsIdent into a functor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7568 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-251-1/+1
* Add stuff for functors. Currently, as a test case only InspIRCd::IsNick has b...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7564 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-251-1/+1
* Remove darwin hax from 1.2•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7526 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-231-11/+0
* Add some documentation•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7524 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-231-14/+22
* Sanity check: we don't want to deal with Config being invalid while logging•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7522 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-231-0/+5
* Tidyup a bunch of stuff that was using userrec::modes directly rather than us...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7506 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-231-3/+3
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+534
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-534/+1
* Apply patch from BuildSmart that fixes a few issues on Mac with the logfile p...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7397 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-06-211-0/+11
* Change some = "" to clear() and some == "" to .empty()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-091-2/+2
* Brok.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7156 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-261-1/+1
* Reorder includes, dont worry there is method to my madness (i hope)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7093 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-1/+1
* - Modify ServerConfig::GetFullProgDir to just return cwd, previously it did a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7063 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-201-1/+1
* Windows support. Tested and working to compile on freebsd and linux. Next ste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-191-3/+3
* Move IsIdent() into helperfuncs.cpp along with IsNick/IsChannel.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7016 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-131-0/+24
* More information in error when a module cant be loaded•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6755 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-061-3/+3
* *slaps self* for not test compiling•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6231 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-061-1/+1
* Fix oper count, we cant decrement ModeCount('o') from the userrec destructor ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6228 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-061-1/+1