brain
8ff89e893a
backport: Proper fix for end-of-list numerics on restricted lists in bug #386 , rather than a hackish nonmodular one.
...
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7839 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26 21:01:36 +00:00
brain
2678788593
(Part manual merge) backport:
...
Raft of fixes so that inspircd can call Cleanup() and Exit() in less 'stable' circumstances, e.g. when half initialized, and it wont segfault.
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/branches/1_1_stable@7805 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23 19:59:20 +00:00
brain
b72653db1a
Add some stuff to change how we process a token sepeperated stream
...
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7801 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23 18:06:50 +00:00
brain
c20a6e22dc
BP: Pick up a few error conditions we didnt before in the config reader, and also increment line number correctly when 'real' newline is found in a value
...
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7750 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 14:07:53 +00:00
brain
76ded2a428
Fix this so it works.
...
OBVIOUS WARNING FOR THE DUMB: Dont go overwriting .so files at random to test this, you WILL crash your ircd if you do this improprerly, this is a feature of the linux shared object loader.
If you want to test this, try with: rm cmd_whatever.so && echo "TESTTEST" >cmd_whatever.so, do NOT just do the echo.
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7714 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 12:17:40 +00:00
brain
8a2faccf96
Backport: Provide error output on failure to load a core command; to console on startup, and to user on /reload
...
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7709 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 11:29:40 +00:00
peavey
843dcb4c63
Merge r7531 from trunk.
...
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7532 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 11:03:09 +00:00
peavey
fd9e632587
Merge r7528-7529 from trunk
...
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7530 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23 23:12:48 +00:00
peavey
b6c238fce2
Mass header update. Chatspike-Dev => InspIRCd....
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7467 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 18:43:39 +00:00
peavey
f2acdbc382
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
2007-07-16 17:30:04 +00:00
peavey
bab14f0dd2
'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are auto skipped by svn.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:14:45 +00:00
peavey
1cb674495d
formatting and ^M
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7451 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 14:43:30 +00:00
brain
42105f07dd
Fix for bug #349 : NOTE there is important caveat about this in the example config, MAKE SURE TO READ IT.
...
When you connect a cgi:irc client two different connect classes are checked at two different times (first the one
that the website they are cgi'ing from, then later one for the user's real ip). READ THIS AND UNDERSTAND IT!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7440 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-15 13:18:28 +00:00
brain
f0235432d1
This should fix the rest of remote kill nick hiding
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7432 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-10 17:59:07 +00:00
brain
97c0bb9edc
I think we're done adding comments to headers. Phew.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7385 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 20:08:34 +00:00
brain
a2259e92ba
More comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7384 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 19:54:37 +00:00
brain
3868abe87d
Comments (lots of, this was really lacking)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7383 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 19:41:46 +00:00
brain
455d6fac2e
Comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7382 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 19:29:11 +00:00
brain
ad2829e7c4
More comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7381 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 19:18:17 +00:00
brain
16add8425c
Guess what i added here?
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7380 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 19:05:49 +00:00
brain
7d78c5c2c0
Comments :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7379 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 19:02:53 +00:00
brain
3669319748
Comment stuff that lacks it
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7378 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:53:27 +00:00
brain
603acdf77e
Comments (lots of)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7377 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:45:22 +00:00
brain
ba98faf0d8
Doxygen comments for command handlers
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7376 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:26:13 +00:00
brain
814047662b
More comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7375 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:23:25 +00:00
brain
7fc5d102db
Add comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7374 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:16:46 +00:00
brain
f42aa99541
Comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7373 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:12:29 +00:00
brain
9a7826b0e8
Comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7372 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:10:34 +00:00
brain
1f113d5477
Tons of stuff added since 1.0 is missing documentation comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7371 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 18:06:55 +00:00
brain
ad9950c7e5
Extra comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7368 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 14:10:34 +00:00
brain
94d578f4c0
Remove static link stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7348 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 13:14:10 +00:00
brain
84472069ba
Module factory and init function in modules turned into a neat macro:
...
INIT_MODULE(MyModuleClassName);
Get cracking, w00t :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7341 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 13:04:25 +00:00
brain
4e7fa39cc5
MAXMODES+1 -> MAXMODES+2
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7318 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 22:41:24 +00:00
burlex
7d4edd5ac3
- Made the recvfrom wrapper a bit neater.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7314 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 22:00:17 +00:00
burlex
2b293ebe75
- Fixed UDP Overlapped I/O under windows. (not the best way this could be done by far, but probably the best that is possible with our EventHandler setup). *dns will now work under win32* :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7313 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 21:33:07 +00:00
pippijn
67e055124d
Some general syntax cleanups.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7304 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 17:22:37 +00:00
brain
18e822f8bb
Fix for bug #324 reported by HiroP
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7303 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-14 17:03:16 +00:00
brain
17d91b065e
Fixes for tokenization oddness with metadata, and weird behaviour of std::istringstream where the .str() method returns the whole string from the start to end, even AFTER youve read elements from it!
...
Use irc::tokenstream instead and add some overridden methods to it. This is smarter as it reuses code and allows us to format metadata the same way we format irc data.
NOTE: If you run any old servers alongside new servers (this revision) you might see spurious colons on the start of reasons for svsholds, cbans and filters. These can safely be ignored)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7283 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-13 18:12:04 +00:00
brain
c2993f666f
Sexeger!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7241 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 17:39:36 +00:00
brain
4381bb63f5
Add comment to what the table here is for
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7238 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 16:50:23 +00:00
brain
d396355d3e
Refactored InspIRCd::Duration(). The leetcode now lives!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7237 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 16:49:06 +00:00
brain
ef048989f8
Add options:moronbanner. Yes really, thats what its called. See the example config.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7232 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-04 19:10:25 +00:00
brain
75f82deb87
Excess flood tidyups
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7230 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-04 17:31:31 +00:00
brain
6cf3fc6b36
Change the behaviour of insp in windows to keep its window open, with some status text in the title bar. It also clears the screen now on startup, see the wrapper for what a nasty amount of code it is to do such a simple thing to a windows console :(
...
Also, add somewhat of a hack to cut down on allocation time taken to map windows fd to a posix style fd in iocp engine.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7217 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-02 22:21:55 +00:00
peavey
77f2c9bb24
Make valgrind happy and not leak mem.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7201 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-01 20:31:29 +00:00
brain
2779810ff0
Apply ipv6 #ifdef tidyup patch from djGrrr, thanks :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7190 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-30 17:37:13 +00:00
brain
4a50237d63
Config option for default channel modes -- more to follow, don't use yet
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7163 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27 12:02:10 +00:00
brain
140b01ba49
Whoops, ++it++? Thats gonna break :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7162 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27 11:30:41 +00:00
brain
bd818bec49
Change for reverse output of lists, most recent first, for bug #307 . Also fix(Oms) annoying(Cuddled(Ifs()))
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7160 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-27 11:28:18 +00:00
brain
3cb0d3f0f8
Dunno why this method was static, doesnt need to be...
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7155 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-26 19:54:15 +00:00