peavey
c722453bce
Oops. Forgot table ircd_log_hosts.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6153 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29 02:05:45 +00:00
peavey
6d79ddd5da
Writing beyond malloc'ed mem of a char pointer will crash with a vengeance. Fix it by actually doing the +1 mentioned in the comment above, but lacking from the actual code.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6152 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29 01:46:13 +00:00
peavey
bca5d9a802
Forgot to init it, clean up mem leakage too and log X-Lines proper.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6151 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29 01:44:14 +00:00
peavey
4700c1df2d
Also using new interface methods, and maybe less crashage.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6150 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29 00:05:19 +00:00
peavey
59bd18f2a0
Change the SQLutils and SQL providers to also use interfaces for proper unload order, taking away the need for a static m_sqlutils. Depend order: m_sqlutils -> sql providers (m_mysql m_pgsql) -> sql modules (m_sqlauth m_sqloper).
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6149 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 22:42:38 +00:00
peavey
5dce8782eb
Copyright header added.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6148 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 22:19:04 +00:00
peavey
2493f40845
Just a comment.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6147 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 21:51:41 +00:00
peavey
9e61f11a14
Schema for sqloper for PostGre.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6146 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 21:51:14 +00:00
peavey
103832d9c1
Schema for PostGre.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6145 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 21:44:46 +00:00
peavey
486ac00566
Fix mem leakage in reading in and connecting to databases and have destructor call mem cleanup too and end the endless loop too so /RESTART and /DIE works with no segfault.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6144 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 20:29:27 +00:00
peavey
125f9c37da
microly minorly typo.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6142 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 18:27:27 +00:00
peavey
48440912e1
Add m_lockserv to example conf.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6140 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 18:04:48 +00:00
brain
a06b94acc1
Fix for empty 005 lines
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6139 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 17:25:07 +00:00
brain
f6573f487a
Tidy up indenting in here and remove a ^M
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6138 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 17:11:53 +00:00
brain
67878d628c
Reasonably sized fix - when adding modes in modules, be sure to check the return value so we dont load two modules with conflicting modes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6137 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 16:55:50 +00:00
peavey
ead232e19a
Add support for LOCKSERV/UNLOCKSERV to block/open for new connections. Thanks to LeaChim for first version too.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6136 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 15:26:29 +00:00
peavey
1f0cdbc6b9
Add m_dnsbl to example conf.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6135 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 14:27:55 +00:00
peavey
774b4a74db
Tidyup and is now a vendor module.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6134 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 14:22:05 +00:00
peavey
6690e9ca3a
Whoops unused variable.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6133 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 13:46:53 +00:00
peavey
d51f650d86
Add cleanup of objects on readconf and in destructor.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6132 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 13:45:25 +00:00
peavey
e5100c86bb
Remove an extra delete that caused a segfault.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6131 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28 13:38:15 +00:00
peavey
124f288f8f
Fix deprotectself=no not working.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6130 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 23:22:42 +00:00
brain
38b9b2a4ce
Beta 8 track! (oh, and there are now officially more 1.1 betas than there were 1.0 betas)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6129 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 20:40:09 +00:00
brain
a660d6bab8
Crux!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6127 e03df62e-2008-0410-955e-edbf42e46eb7
v1.1.0b7
2006-12-26 20:02:13 +00:00
brain
efc342f58c
have configure detect SOMAXCONN and store it in a string define, SOMAXCONN_S
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6126 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 18:03:41 +00:00
brain
943def6a01
Add defaults for a ton of config vars, fix indentation, and add MAXCLIENTS_S to avoid one of the itoa()'s
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6125 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 17:47:56 +00:00
brain
6bc3d71946
Change to use std::string::iterator rather than making a copy of the pointer and using .c_str()
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6124 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 12:41:10 +00:00
peavey
eedbc9c88e
Just a little tweak so trigger values makes more sense.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6123 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 12:08:59 +00:00
peavey
f9fd76eb5a
Document new blockcaps options in example conf.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6122 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 11:48:59 +00:00
peavey
4b179481c3
Add support for config option for percent and minimum string length +P will trigger on.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6121 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 11:44:32 +00:00
peavey
0ed148acc3
Add some defaults to serverconfig, removing need to set them in validate methods. Still more to do in multitags.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6120 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 05:58:09 +00:00
peavey
79c0364d54
Add Template itoa to convert integer to char*
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6119 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 05:55:45 +00:00
peavey
484229f5c6
Even more typos from Tyler...
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6118 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 03:35:50 +00:00
peavey
9e9ec4253c
Another minor typo discovered by Tyler.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6117 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 03:01:15 +00:00
peavey
f3f570b4fa
Also add support for default values for ConfValueBool and ConfValueInteger in configreader, and for ReadFlag and ReadInteger in modules.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6116 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 01:48:55 +00:00
peavey
513917fcce
Fix small typo found by Tyler.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6115 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 01:36:46 +00:00
peavey
63483aa395
Tidyup a few var inits for whowas and ircu style prefix.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6114 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 00:54:20 +00:00
peavey
047f09dd57
Add possibility to define default value for ConfValue in configreader and ReadConf in modules.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6113 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 00:51:20 +00:00
peavey
1bbe35d493
Fix m_httpd always crashing in destructor if no active Timeout.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6112 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-25 20:32:37 +00:00
peavey
a6bb2c2039
Cosmetic fix to stats z output.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6111 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-25 13:54:06 +00:00
brain
22a080c8f0
Fix ISON with multiple lines of ISON response, canonize the responses to weed out dupes, because trillian's irc support blows donkeys
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6110 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 23:25:43 +00:00
brain
7fa29d1e2f
Fix broken +G for AnMaster (thanks for pointing out the bug)
...
Also: MAJOR speed increase for *any network that loads m_censor*!
It seems that this was looping all the censor items (not attempting a replace though) for all channels and users, even those that WERE NOT +G!
Fixed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6109 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 22:17:24 +00:00
brain
081d2c8777
Correctly ignore commented out includes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6108 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 21:45:20 +00:00
brain
451f72067f
Double whoops
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6107 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 21:28:20 +00:00
brain
4dfc2e1e51
Whoops!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6106 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 21:27:37 +00:00
brain
9ab4ee2ea0
SQLQuery operator% and operator, now support any data type
...
(these are templated, and pass the type through ConvToStr())
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6105 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 21:12:21 +00:00
brain
417a4183d8
Tidyup
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6104 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 18:38:57 +00:00
brain
9206364b1c
Tidyup
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6103 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 18:38:29 +00:00
brain
326d76108e
Add new people to /info
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6102 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 14:25:51 +00:00
brain
9628934933
Tidyup Leet Caps Like This, and display PID when performing operations
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6101 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 13:38:32 +00:00