2533 Commits

Author SHA1 Message Date
brain
0500850669 Added ability to provide -logfile parameter on commandline
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3327 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26 11:05:34 +00:00
brain
30084fbe7e Lowercase the servername automatically
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3326 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26 10:24:04 +00:00
brain
786f313532 Typo found by gcc 4 warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3325 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-25 16:09:20 +00:00
brain
1d91a9845b Include tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3324 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-25 15:58:02 +00:00
brain
a4018b0b1e Spelig errorz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3323 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-25 12:29:47 +00:00
brain
0e1be06c0f Auto-lowercase all server names read in from <link> tags so that people cant get the case of servernames confused (passwords are STILL case sensitive)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3322 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-25 11:01:48 +00:00
brain
672d7d4ee8 Another tweak for port
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3320 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-24 20:30:44 +00:00
brain
5b5f6f678c Added m_safelist (yes om, i kept alpha order)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3319 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-24 20:09:37 +00:00
brain
76bed8d2e8 Now sends out warning when oper on a remote server tries to execute a command that the local class tags say they shouldnt be able to access. Helps detect desyncs caused by muppeted configs, or just plain nefarious goings on.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3318 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-24 18:45:57 +00:00
brain
c30fd933e0 One character brain-wave fix (had idea at work)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3317 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-24 18:22:24 +00:00
om
a168cf04da Nothing to see here, nothing, at all.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3316 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-24 01:02:27 +00:00
brain
c91f023658 Wrong address being bound by InspSocket when binding to a specific ip
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3315 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-24 00:20:49 +00:00
om
59b1a89551 Decide that it wasn't quite appropriate :(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3314 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 20:47:01 +00:00
om
cef00a4348 Add entirely pointful smiley to comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3313 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 20:46:22 +00:00
brain
5041993a7c Added comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3312 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 20:42:57 +00:00
brain
ee49c1a3a2 iTypo (like a typo, but with crazy blue sides)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3311 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 20:36:28 +00:00
brain
991bc1d3cf Look-behind for missed timers up to 2 minutes (if your ircd has hung for 2 minutes, or your clock drift is > 2 mins, you have bigger fish to fry, like dead network or TS split)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3310 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 20:35:52 +00:00
brain
612bb66026 Removed bit of logging that said the timer was ticking -- we know it works now :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3309 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 20:07:10 +00:00
brain
b8717363a9 Moved LIST header
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3308 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 20:03:59 +00:00
brain
3346a13eb8 And the typo.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3307 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 20:01:26 +00:00
brain
2ea0bbefc4 listusers has to be global now (ugh)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3306 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 20:01:01 +00:00
brain
8c2bd7cc63 Moved timer stuff from OnBackgroundTimer to InspTimer derivative
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3305 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 20:00:02 +00:00
brain
197c524798 Use ::AddTimer not AddTimer, or it calls this->AddTimer and loops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3304 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 19:50:54 +00:00
brain
5b80360d87 Now copies libIRCDtimer.so
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3303 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 19:49:23 +00:00
brain
aca9acf422 Fixed to work
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3302 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 19:46:43 +00:00
brain
7907a1f1cc Incorporating InspTimer into safelist as a test
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3301 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 19:39:38 +00:00
brain
6279a01bf5 Fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3300 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 19:13:30 +00:00
brain
a66e7dd858 Its timer.cpp not timers.cpp.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3299 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 19:10:17 +00:00
brain
0903f27ba1 Added timers.cpp/.h to makefile generation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3298 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 19:09:03 +00:00
brain
932f00f8bf First revision of new timer code, not in the makefile yet (so it wont build till im done)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3297 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 18:56:21 +00:00
brain
4d057b65c4 Optimized a little
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3296 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22 23:16:20 +00:00
brain
bbbf55dfca Force burst to end if a remote server pings us, or answers a pong, if this is the case it just "forgot" to send an ENDBURST!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3295 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22 22:22:37 +00:00
brain
b06361b4ec Improved calculation to account for server name on start of numeric, plus spacing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3294 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22 21:52:36 +00:00
brain
74d823b2a2 Perm elines (<exception> tag) not being applied - fixed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3293 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22 21:07:20 +00:00
brain
e5cd139215 SAFELIST 005 token is now part of m_safelist not the core 005
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3292 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22 20:57:29 +00:00
brain
abeaa35bc2 Fix typos :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3291 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22 20:37:42 +00:00
brain
fcc5ed3e8a Cleanups on module unload or user /QUIT
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3290 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22 20:36:01 +00:00
brain
c10caf3870 Added m_safelist. This was originally w00t's code, but i bastardized it (just a little)
WARNING: It's not finished yet and shouldnt be used, it might crash at this point in time if a user /quit's while listing.
YOU HAVE BEEN WARNED! WITH A SPORK!


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3289 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22 20:22:58 +00:00
brain
c2906e93be Changed triggering time of OnBackgroundTimer to 5 secs (from 8)
Fixed typo in new functions


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3288 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22 20:14:33 +00:00
brain
39ca58c38c Added m_safelist helper functions GetChannelCount and GetChannelIndex
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3287 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22 18:56:25 +00:00
brain
03a85ddeaf Oh yae, Oh Yae, back in old days of yore, Ye Brain doth set the nick buffer as NICKLEN+1 to ease understanding by newbs who didnt know what thou null terminator was.
And yae, at a date later hence, Ye Brain then setteth ye buffer back to NICKLEN again.
Alas, neither Ye Brain nor Ye trusty followers hath then setteth back the rest of the core to NICKLEN-1, and verily, chaos ensued. :p


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3286 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22 18:36:33 +00:00
w00t
cb5bcb431d Added which word is blocked to the numeric
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3285 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 22:44:53 +00:00
w00t
2579f3aefb Added 'is a registered nick' to whois
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3284 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 22:10:41 +00:00
brain
20c2b0716a Its true i cant count! :P this one i spotted in testing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3282 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 21:49:06 +00:00
brain
a7f994a7ba More error descriptives
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3281 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 21:43:47 +00:00
brain
ef3ef4727d Made error more understandable on 'file not found'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3280 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 21:40:23 +00:00
brain
f508e5fb37 MAXMODES wasn't being enforced
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3279 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 21:37:49 +00:00
brain
e5a1541029 Missing include
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3278 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 21:16:16 +00:00
brain
0baef3051c Enforce 64 char dns limits
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3277 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 21:14:53 +00:00
brain
4648c98fa1 Tests for channel ghosting?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3276 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 21:07:17 +00:00