brain
|
123bf69097
|
Whoops, schoolboy error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10487 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-09 10:28:38 +00:00 |
|
brain
|
4453eeac80
|
Add connmutex to mutex the connections vector, otherwise we can get access from two threads and it is stl. ew.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10486 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-09 10:21:30 +00:00 |
|
brain
|
e1b9005850
|
peavey, w00t, this works now. Methods werent copied right. Please feel free to base the other sql module fixes on the diffs that i used to fix this.
ALSO now works on win32, tested!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10485 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-09 09:50:09 +00:00 |
|
brain
|
4b80e90c76
|
fixed a /MT to be /MD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10484 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-09 09:37:41 +00:00 |
|
brain
|
92a0ff3ea9
|
fix various bodge-ups, we must have been tired when fixing this in the first place to use the new api, methods are in the wrong places.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10483 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-09 08:54:36 +00:00 |
|
brain
|
b6497f2715
|
not test compiled yet: sql modules werent working because someone chopped out the important code that determines what port the new socket is bound to when binding to port "0". The GetPort() method belongs in the listensocketbase derived socket not the bufferedsocket one, and the code for determining the getsockname() belongs in the ctor for the listen derived socket.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10482 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-09 08:32:46 +00:00 |
|
w00t
|
27fec307cf
|
Remove a (now nonexistant) reference from .h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10481 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-08 21:26:33 +00:00 |
|
w00t
|
14b9d1ac33
|
Check the wrong way around is just stupid. ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10480 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-08 21:21:44 +00:00 |
|
w00t
|
45805210f8
|
Fix warning, thanks peavums
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10479 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-08 21:19:34 +00:00 |
|
w00t
|
7bbef1a52b
|
Growl.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10477 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-08 21:13:30 +00:00 |
|
w00t
|
36b68893df
|
Remove crappy, unsafe (and now unneeded!) casts.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10476 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-08 20:59:16 +00:00 |
|
w00t
|
617b640fa8
|
More compile fixes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10475 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-08 20:41:10 +00:00 |
|
w00t
|
00bc6a80a2
|
Fix compile problems hopefully..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10474 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-08 20:38:53 +00:00 |
|
w00t
|
b745471954
|
(Attempt to) convert MySQL to using listener base.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10473 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-08 20:34:31 +00:00 |
|
w00t
|
e2175e1b1a
|
Remove old listening stuff from spanningtree, use a new derived listener class.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10472 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-08 19:23:22 +00:00 |
|
w00t
|
7aecf1d4ec
|
Give httpd a custom listener class, specialised in creating HttpServerSockets.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10471 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-08 19:23:19 +00:00 |
|
w00t
|
d48f72b989
|
Remove listening from BufferedSocket, it's bloaty and horrid. We have a ListenSocketBase class to handle this instead now. :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10470 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-08 19:23:17 +00:00 |
|
w00t
|
74f401f199
|
Make OnAcceptReady pure virtual, rename ListenSocket to ListenSocketBase, create ClientListenSocket and inherit from ListenSocketBase to create User objects.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10469 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-08 16:58:41 +00:00 |
|
w00t
|
484b718ccf
|
Move this to another (yet more appropriate) place, saves some syscalls in an unlikely condition.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10468 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-08 16:58:37 +00:00 |
|
w00t
|
0e07fc2e9e
|
Add incoming IP to OnAcceptReady
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10467 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-08 10:43:00 +00:00 |
|
w00t
|
28fbe77831
|
Allow for silencing getmodules() output (is annoying when using modulemanager)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10466 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 23:40:00 +00:00 |
|
w00t
|
76d8c58f09
|
Add "list" and usage to modulemanager [danieldg]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10465 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 23:19:55 +00:00 |
|
w00t
|
bfff438589
|
Fix missing semicolon in m_ssl_openssl [danieldg]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10464 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 23:19:52 +00:00 |
|
w00t
|
7a30c818ee
|
Move a socket sanity check into the generic listener handler, avoiding the need to instantiate a user object in insane conditions.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10463 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 23:15:05 +00:00 |
|
w00t
|
77b7c43004
|
Tidy up some of the internals a bit, making things a bit more extensible and future proof.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10462 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 23:08:32 +00:00 |
|
brain
|
66b1ab1f4d
|
Fix windows project files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10461 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 22:28:24 +00:00 |
|
w00t
|
631029ff1f
|
Merge class connection in with class user (nothing else inherits it anyway, and all the fields in here were only really useful to users anyway)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10460 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 22:23:03 +00:00 |
|
w00t
|
78c14ffcc5
|
Merge the second interface for socket hooking into one, so it's all done by Add/Del/GetIOHook now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10457 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 20:07:50 +00:00 |
|
w00t
|
efee3a4d4e
|
Initialising the member we added might be an idea.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10456 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 19:50:00 +00:00 |
|
w00t
|
2547339727
|
Make this work with older git, too (thanks danieldg)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10455 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 19:39:42 +00:00 |
|
w00t
|
330f1c8fe0
|
Use git describe rather than git-svn, it works better with secondary clones
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10454 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 19:34:04 +00:00 |
|
w00t
|
468d5c6d71
|
Updates
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10453 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 19:34:03 +00:00 |
|
w00t
|
5c090a439f
|
Invite timeout on server-to-server is already a unix timestamp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10452 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 19:34:02 +00:00 |
|
w00t
|
73b5d276db
|
Fix IO hooking modules to use the new (not old) hooking call
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10451 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 18:49:55 +00:00 |
|
w00t
|
f012abe490
|
Fix a stupid error, and two warnings.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10450 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 18:31:25 +00:00 |
|
w00t
|
6b5d7cbbca
|
Move socket hooking in inspsocket to utilise the new system properly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10449 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 18:31:24 +00:00 |
|
w00t
|
3092a8ed89
|
Fix forward-declaration caused as a result of recent changes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10448 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 18:31:23 +00:00 |
|
w00t
|
61fed23a3e
|
Start moving IO hooking from being bufferedsocket based to residing in EventHandler, this will pave the way for a generic listener type, and also simplifies a lot of code.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10447 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 18:31:21 +00:00 |
|
w00t
|
f7bfee1e92
|
Move listensocket stuff into a file of it's own.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10446 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 18:31:20 +00:00 |
|
w00t
|
86b8e74c3a
|
Don't execute multiple aliases after executing one.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10445 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 17:10:52 +00:00 |
|
w00t
|
be812e3a41
|
Fix aliases returning multiple messages, thanks Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10444 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 17:02:06 +00:00 |
|
w00t
|
c7cdfe744d
|
Fix compile. Try again, Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10443 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 16:31:21 +00:00 |
|
w00t
|
fc86c60df8
|
Merge branch 'testbranch'
Conflicts:
sources.list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10442 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 16:24:57 +00:00 |
|
w00t
|
8134bbd286
|
Test commit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10441 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 16:23:58 +00:00 |
|
w00t
|
4185ba9bb1
|
Set default values for <alias:usercommand> and <alias:channelcommand>, Ankit, please provide feedback.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10439 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 16:19:28 +00:00 |
|
w00t
|
3de8d7eee4
|
Also redirect errors to /dev/null to avoid messy output on VCS that aren't installed/in use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10434 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 14:38:55 +00:00 |
|
w00t
|
f66960886f
|
Nicer fix for REVISION stuff when using git, thanks danieldg for the basis.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10433 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 14:38:55 +00:00 |
|
w00t
|
94f956aef6
|
Another test commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10432 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 14:20:58 +00:00 |
|
w00t
|
1e462dfbee
|
Test commit from git
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10431 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 14:20:57 +00:00 |
|
w00t
|
c27e620cc7
|
Upgrade the upgrade command to ..upgrade better. Thanks danieldg.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10430 e03df62e-2008-0410-955e-edbf42e46eb7
|
2008-09-07 03:49:21 +00:00 |
|