787 Commits

Author SHA1 Message Date
brain
3f839fc4ed Fixed to allow debugging
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1151 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-21 13:22:15 +00:00
brain
2eafeefbb1 New stuff actually compiles now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1150 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-21 12:15:56 +00:00
brain
f7a0c180d8 Added header for m_sql with inherited Request class
Added simple API for m_sql


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1149 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-21 12:01:35 +00:00
brain
b973cb4a05 Corrected library paths in $CompileFlags
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1148 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-21 00:59:57 +00:00
brain
fc3eb31b39 Added warning on unresolved symbol errors about 'you might need ./inspircd start'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1147 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-21 00:59:44 +00:00
brain
2f19dfa694 Added LD_LIBRARY_PATH hacks/kludges to the .inspircd.inc file to make it find libmysql in funny situations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1146 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-21 00:59:25 +00:00
brain
52bfb15855 Tested initial m_sql (works with issues)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1145 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-21 00:33:41 +00:00
brain
b5666d9bae Added preliminary m_sql.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1141 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-20 21:17:24 +00:00
brain
8a50e43133 Moved to B4
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1140 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-20 17:09:56 +00:00
brain
0575c0e67a Moved to B3 official
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1138 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-20 16:23:19 +00:00
brain
1b24d217bb Added extra comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1137 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-20 16:02:09 +00:00
brain
2db0df5813 Added module message passing architecture
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1136 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-20 15:48:27 +00:00
brain
15228d509a Removed some unceccessary debug output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1135 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-20 13:57:50 +00:00
brain
1e4d37149c Added OnUserDisconnect method to modules.* to fix fd leak in m_ident.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1134 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-20 02:48:12 +00:00
brain
4f62aeb27e Fixed fd leaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1133 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-19 21:53:44 +00:00
brain
99caa2a956 Added 'server already exists' check for u-type links
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1131 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-19 03:33:02 +00:00
brain
882c2d2e8c Fixed bug when ordering a bot to leave using anope services
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1130 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-19 03:13:29 +00:00
brain
ab65aa1a5a Fixed anope module sending L tokens with 2 instead of 3 params (made code more tolerant instead of changing module)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1129 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-19 02:48:03 +00:00
brain
178e92cc0b Fixed broken server/server handshake for U-type server links (services)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1121 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-18 18:06:38 +00:00
brain
6bb948ae94 Added PID reporting and testing before daemonize
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1120 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-18 13:14:11 +00:00
brain
6ba4c5b9d3 Changed "is now running" message to AFTER port bind checks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1119 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-18 13:07:29 +00:00
brain
a647fe86cf Fixed /LUSERS server count again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1118 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-18 12:25:03 +00:00
brain
314c59cb3b Fixed /LUSERS server count
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1117 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-18 12:21:31 +00:00
brain
69c5c39082 Fixed strange join behavior reported by w00t (mirc requesting MODE immediately after JOIN)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1116 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-18 04:44:20 +00:00
brain
2d731a2fee Fixed strhashcomp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1115 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-18 04:01:50 +00:00
brain
dfdba0dc0e Fixed bug #47 reported (and suggested fix) by Om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1114 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-17 13:54:58 +00:00
brain
475ad91b7e Removed some old uneeded code
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1113 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-17 01:05:20 +00:00
brain
668df37516 Added:
OnMeshToken
MeshSendAll(std::string text);
MeshSendCommon(userrec* user, std::string text);
MeshSendAllAlive(std::string text);
MeshSendUnicast(std::string destination, std::string text);
MeshSendAllExcept(std::string target, std::string text);
MeshCheckChan(chanrec *c,std::string servername);
MeshCheckCommon(userrec* u,std::string servername);


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1112 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-16 18:58:08 +00:00
brain
99d1c8f0ab Fixed lingering (SO_REUSEADDR was being set to 0?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1111 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-16 15:19:50 +00:00
brain
3cd71f1ee5 Added extra parameter to OnRawMode in docs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1110 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-16 14:50:28 +00:00
brain
1def843ff4 Updated documentation of <connect> tags at request of Strike
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1109 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-16 03:05:40 +00:00
brain
d664aec8c1 Added a chanrec to OnRawMode, om pointed out i hadnt given him it :D
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1108 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-16 01:26:20 +00:00
brain
c4625b09b0 Fixed a minor bug in text formatting of errors
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1107 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15 19:32:58 +00:00
brain
674c868b22 New docs for API:
int Module::OnRawMode(userrec* user, char mode, std::string param, bool adding, int pcnt);
int Module::OnCheckInvite(userrec* user, chanrec* chan);
int Module::OnCheckKey(userrec* user, chanrec* chan, std::string keygiven);
int Module::OnCheckLimit(userrec* user, chanrec* chan);
int Module::OnCheckBan(userrec* user, chanrec* chan);
void Module::OnStats(char symbol);
int Module::OnChangeLocalUserHost(userrec* user, std::string newhost);
int Module::OnChangeLocalUserGECOS(userrec* user, std::string newhost);
int Module::OnLocalTopicChange(userrec* user, chanrec* chan, std::string topic);


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1106 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15 19:31:08 +00:00
brain
517dd987a7 Added new API methods:
int Module::OnRawMode(userrec* user, char mode, std::string param, bool adding, int pcnt);
int Module::OnCheckInvite(userrec* user, chanrec* chan);
int Module::OnCheckKey(userrec* user, chanrec* chan, std::string keygiven);
int Module::OnCheckLimit(userrec* user, chanrec* chan);
int Module::OnCheckBan(userrec* user, chanrec* chan);
void Module::OnStats(char symbol);
int Module::OnChangeLocalUserHost(userrec* user, std::string newhost);
int Module::OnChangeLocalUserGECOS(userrec* user, std::string newhost);
int Module::OnLocalTopicChange(userrec* user, chanrec* chan, std::string topic);


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1105 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15 19:29:20 +00:00
brain
157ee45b8e Fixed a minor parameter bug (display glitch, wrong censor word in an error)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1104 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15 15:49:33 +00:00
brain
8edd8f730d Removed deprecated class 'packet'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1103 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15 14:52:13 +00:00
brain
df2a0e34e2 Removed some deprecated documentation (html)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1102 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15 14:52:01 +00:00
brain
5ef1c283a8 Removed some deprecated documentation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1101 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15 14:51:38 +00:00
brain
10fb03948d Added the m_chanfilter module, implements chanmode +g which allows channel specific badwords (YAY)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1100 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15 12:54:06 +00:00
brain
21ae94afcb Made cmode and chanmode more safe
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1099 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15 12:53:49 +00:00
brain
3b48134eef Someone got a comparison completely the wrong way around (and it wasnt spotted!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1098 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15 00:43:15 +00:00
brain
dcb36d7733 Fixed bug where if channel limit was lower than the user count users could still join, but not if it was equal
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1097 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15 00:32:18 +00:00
brain
3f4b15c2cf New documentation on today's new methods etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1096 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-14 21:13:24 +00:00
brain
cff3a40e0b Brains law of coding #1: There will always be typos in the simplest of code if you commit in a rush
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1095 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-14 18:15:35 +00:00
brain
f057bf32b9 Sends /LUSERS on connect
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1094 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-14 18:14:31 +00:00
brain
6a4e92c97c More nice comments (this module is kind of a flagship for a few new method calls)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1093 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-14 17:54:37 +00:00
brain
f209b0f8fc Changed the state engine states to nice constants
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1092 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-14 17:49:20 +00:00
brain
abbe8b23a6 More careful checks for control characters and linefeeds in the ident (because having them in there really does stuff things up)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1091 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-14 17:08:11 +00:00
brain
9c4231a274 Added comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1090 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-14 16:12:19 +00:00