4561 Commits

Author SHA1 Message Date
brain
3119f46c8a Merge peaveydk's example conf change.
Guess what Om, we broke alphabetical order on purpose!
(actually, it makes sense, sqlauth must come before any sql modules, due to load order, or we're essentially  distributing a broken config file which will confuse users as to why its broken)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5641 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03 17:21:57 +00:00
brain
2d02925382 Fixed at last.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5640 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03 17:18:30 +00:00
brain
252301f34d Ive been unable to commit this since 9am, somehow port 22 is unusable at work now, even though we need to use it... damn cable and witless.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5639 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03 16:53:45 +00:00
brain
27634449b8 Took out a header we needed to keep. Im done stick a fork in me
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5638 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03 08:35:29 +00:00
brain
7abfe8295a Hmm, svn said there was a conflict here, but nobody had committed :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5637 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03 08:33:18 +00:00
brain
4c19dfeed8 Revert special's sqloper change, nice try but only half a biscuit.
With the old fix, it would echo out all the oper failure notices first then try again, annoying all the opers.
The new version uses a CommandParser method i added, to again use OnPreCommand, halt the /oper command, but after doing the sql lookup call the original handler of the OPER command with the original user and pass, so the original handler handles the definitive failure message.


DAMNIT STOP COMMITTING


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5636 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03 08:30:37 +00:00
special
2abef9282f Switched m_sqloper to use OnPostCommand instead of OnPreCommand, meaning the config tags are checked before MySQL
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5635 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03 04:02:29 +00:00
w00t
f1dbe14881 Fix compile error, and spank Brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5634 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03 00:18:47 +00:00
brain
139285820f When we get an event on a userrec of EVENT_ERROR, and errornum is 0, send the error message "EOF from client" rather than using strerror and getting: Quit (Unknown error: 0)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5633 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02 21:56:35 +00:00
brain
c926070195 Please in the future everyone: DO NOT submit patches via nopaste. Nopaste is not designed for this, and mangles your patch so we cant apply it. gzip it instead!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5632 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02 20:34:01 +00:00
brain
c2022e89e5 Apply patch by satmd which performs ipv4 lookup on 4in6 users
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5631 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02 20:23:04 +00:00
brain
f554089708 Someone forgot to add m_alltime to the example conf :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5630 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02 19:25:55 +00:00
brain
b0e7410a99 More pipe. Everyone likes pipe
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5629 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02 18:17:29 +00:00
brain
1929d75f96 This is tidier, we dont need a seperate bool and int
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5628 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02 18:11:22 +00:00
brain
35211d4c3e LoadModule will now also return false if the glob pattern matches no modules and loads nothing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5627 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02 18:07:23 +00:00
brain
3475ebe194 Allow wildcards in LoadModule calls. If a filename contains either * or ? it will attempt to readdir() the currently configured module dir and load all modules which match.
If any one module fails, LoadModule then returns false.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5626 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02 18:06:03 +00:00
special
b5b704f5dd Added m_alltime
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5625 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02 17:44:18 +00:00
special
1c600e3912 Added the send_push event to m_spanningtree (send raw text to a remote user)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5624 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01 21:41:07 +00:00
brain
89a8a819fa New events for special. Event id's "new_server" and "lost_server". The data is a pointer to a char* containing the server name.
Eventally, i might expand this to include more data about the server such as its 'gecos' field etc, but not just yet. Let me know what data you want first.
Event source is valid and will point at the protocol module.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5623 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01 17:38:35 +00:00
special
5515872a23 Fixed another overflow, identical to the last one
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5622 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01 17:10:15 +00:00
special
7cc96f2b1c Fixed a little overflow, noticed by satmd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5621 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01 17:01:32 +00:00
brain
477b0cea88 Update this too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5619 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01 08:46:02 +00:00
brain
015930fbdb Remove <helpop file>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5618 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01 08:44:18 +00:00
brain
d248ac1a94 Remove <censor file> directive, we've had <include> for years now, make use of it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5617 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01 08:13:17 +00:00
brain
bbecfb8b37 Fix broken notice (relatively minor, the notice can be turned off)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5616 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 22:30:58 +00:00
brain
6a7479609a 1.1.0b4+FartGas. Powerful and strong, and drives back the competition.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5614 e03df62e-2008-0410-955e-edbf42e46eb7
v1.1.0b4
2006-10-31 21:57:21 +00:00
brain
be69cdfc3d Dont worry this is only comments, not worth rebuilding for
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5613 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 21:19:39 +00:00
brain
53707ca261 We should be fine without oneshot, i'll test this.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5612 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 21:12:01 +00:00
brain
ee034e0a5c Fix a whoopsy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5611 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 20:47:25 +00:00
brain
986cae8a9d Set write error when detected
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5610 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 20:44:47 +00:00
brain
dc5d99a954 Error set handlin g for select socketengine, tidyup epoll
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5609 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 20:43:47 +00:00
brain
84fe55db16 Close an inspsocket on getting error state
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5608 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 20:36:38 +00:00
brain
193b540aa7 Socket error state stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5607 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 20:32:01 +00:00
brain
4bb033449d Start of stuff to handle socket error state
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5606 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 20:30:16 +00:00
brain
f4a1bfe7c0 We dont want kqueue to go into an infinite loop when netsplitting, do we.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5605 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 18:30:25 +00:00
special
d0a0de4044 Removed OnRawMode - this hasn't been called at all for awhile now, so it was completely worthless. I even tested it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5604 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 18:06:33 +00:00
brain
02d989887a Add peaveydk to contributors section
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5603 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 17:56:45 +00:00
brain
677c569364 Remove some debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5602 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 17:50:26 +00:00
brain
857b9beed4 Fix the makefile confusion removal of these headers creates
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5601 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 17:45:34 +00:00
brain
372656dbe5 Update configure, remove a bunch of deprecated makefiles that have been just a #warning for about 1000 revs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5600 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 17:42:09 +00:00
brain
be77f42a97 Incorporate stats p patch by peaveydk (shows port numbers and number of clients on each port)
Tidy up cmd_stats.cpp in general, turn it into a large case statement


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5599 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 17:06:32 +00:00
brain
e81b8faed7 Test commit 2
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5598 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 13:16:59 +00:00
brain
ff6e512046 Test commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5597 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 13:11:07 +00:00
brain
f66585e27a Whack unused var warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5596 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 08:28:28 +00:00
brain
b6b8c9dac8 Set flags correctly when receiving a module-requested write event
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5595 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 08:21:35 +00:00
brain
6e3dbb2cd7 Tidy up WaitingForWriteEvent stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5594 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 08:16:14 +00:00
brain
83a688082e Fix for crash found by eggy when a user without a cert tries to oper on a fingerprinted oper tag
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5593 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 22:48:51 +00:00
brain
4171efac17 Document SocketEngine::WantWrite()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5591 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 20:51:52 +00:00
brain
1aaee19ee9 Fix broken quits (i broke them by taking out a check i didnt think was required -- it was. RTFS!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5590 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 20:38:32 +00:00
brain
ce82b3bd6b Remove very verbose debugging of event system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5589 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-30 20:25:08 +00:00