peavey
7a2e9dd0de
chanrec::UserList() gives out end of names numeric. So don't do it here. Fix for bug #289
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6942 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 03:10:28 +00:00
brain
959c67db27
Comment what ive done, so that someone doesnt go 'oh thats a redundant data copy, what muppet put that there' and take it out, giving everyone uhnames output that doesnt support it :P
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6941 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 01:01:42 +00:00
brain
395511bd07
Tweaks here so we can avoid data copies in uhnames
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6940 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 01:00:22 +00:00
brain
6e1f6f7a30
This doesnt need a data copy any more
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6939 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 00:55:07 +00:00
brain
a11d65f691
Add m_uhnames.so to the example config
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6938 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 00:39:25 +00:00
brain
7cbc335e89
Make it not suck^H^H^H^Hsegfault... and its all fixed and *working* :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6937 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 00:36:16 +00:00
brain
f7dd3ab4c0
It would be good if this actually compiled too...
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6936 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 00:28:15 +00:00
brain
fb6ae5de3a
Add uhnames prototype
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6935 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 00:26:34 +00:00
brain
ce533b67e6
Small api change with wide reaching effects in modules - Allows modification of whats displayed by NAMES on a per-nick basis, so we can have UHNAMES in a seperate module to NAMESX (and possibly do some funky other stuff in the future too!)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6934 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 00:26:04 +00:00
brain
b8015b09dc
Fix ping timeout ERROR not being generated when a server pings out, making the other end appear to be closed unexpectedly without reason.
...
Find and fix the 3 ping timeout messages for server to server that were using WriteOpers instead of snomask +l
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6933 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 23:42:06 +00:00
brain
221cd997be
Add a module which only lets identified users and opers create new channels, as per bug #279 reported by Casey
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6932 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 22:03:57 +00:00
brain
ae672a42dc
Fix operquit notices being chopped to first word of quit message, spotted by owine :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6931 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 21:42:15 +00:00
brain
c5475a56f7
The WHO documentation in helpop.conf was WAY out of date
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6930 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 21:32:59 +00:00
brain
832e4d6003
If we're having local, we need far too (f)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6929 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 21:26:12 +00:00
brain
d0bde38343
Add WHO flag 'l', show only local users
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6928 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 21:24:57 +00:00
brain
b328aad53b
Fix slightly broken oper checks on +i
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6927 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 21:12:35 +00:00
brain
711b65bb2a
Add extra matches to /WHO. flags aiMp, away, ident, metadata, port number
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6926 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 21:00:06 +00:00
brain
1dea4f2adf
Someone left a flag out of the syntax (m, modes)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6925 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 20:40:18 +00:00
brain
02c0611d36
Fix the other logic bug found by peavey
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6924 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 20:36:10 +00:00
brain
0c19615624
There was some real odd logic in here - thanks owine and HiroP
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6923 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 20:35:12 +00:00
w00t
1ed56fd1d5
Make RCONNECT accept a glob for the first parameter. Thanks, HiroP :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6922 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 16:40:04 +00:00
w00t
cba3552f3a
Implement bug #282 from owine: kill sender hiding. <options:hidekills> needs to be set to a static string to display instead of the killer's nick. QA: *IMPORTANT* please extensivly test local ***AND*** remote killing with this on and off. Thanks :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6921 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-09 01:02:44 +00:00
w00t
a60f054438
- (FINALLY, ffs) add realnames to connect/remote connect server notices, per HiroP's patch. No, we're not showing SSL - SSL is a module, putting that in the core is hacky.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6920 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 23:35:28 +00:00
brain
5246737b16
Decraq
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6919 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 21:41:57 +00:00
brain
bc34197205
Add oper notices on: (1) joining invisibly to a channel (2) engage or disengage mode +Q
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6918 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 21:30:08 +00:00
brain
3c362be4a2
Tidy up some lollercode
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6917 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 20:18:16 +00:00
brain
a255037d2d
Document m_xmlsocket.so
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6916 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 20:09:18 +00:00
brain
921ff55ce1
Sending a buffer full of garbage is not smart or funny.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6915 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 19:14:02 +00:00
brain
ac223dbc6c
Left openssl includes in here :<
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6914 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 18:48:59 +00:00
brain
646b2c1da9
Add comments to describe wtf we are doing
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6913 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 18:44:46 +00:00
brain
19853e96f5
Don't use this yet. we're waiting on w00t for a test client
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6912 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 18:32:22 +00:00
brain
e295d91ffd
Make SAJOIN/SAPART more spanningtree friendly, they are throwbacks to the inspircd 1.0 alpha days :S
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6911 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 16:16:25 +00:00
brain
74da82aef9
We're setting chanrec::creation in here and not chanrec::age, this can and will fuck up TS. Set Both.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6910 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-08 02:59:29 +00:00
brain
545736adb5
Fix multi-level if() madness, thanks HiroP
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6909 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 21:03:57 +00:00
brain
3f95fe8a05
Correct the silentbursts logic
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6908 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 20:54:01 +00:00
brain
f15165b49a
we typedeffed nspace::hash_map<std::string,command_t*> to command_table ages ago.
...
Now its time we used it! command_table::iterator is far neater than nspace::hash_map<std::string,command_t*>::iterator
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6907 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 18:51:47 +00:00
brain
95f1be0b6f
Slightly tidier capab checks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6906 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 16:35:14 +00:00
brain
8460f081ad
Needs a little testing: Tidyup of some code, namely when validating the length of params for NICK, tidied it into an array of sizes and indexes rather than a big long chain of if, then, else
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6905 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 16:19:22 +00:00
brain
02c114d836
Fix channel TS not being set correctly on creation of new channel
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6904 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 15:49:57 +00:00
brain
41767c8cde
Developers, please review ForceJoin starting at line 730 of this file. It needs a thorough going over to see if anyone can spot any problems.
...
Now uses modestacker rather than trying to do this itself with lots of char* craq.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6903 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 15:44:00 +00:00
brain
78c0bcf17c
A bit more debug in here
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6902 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 14:56:08 +00:00
brain
c8e3758b92
Add bugnotice when an fmode is sent with a TS < ours. This should in theory never happen unless theres some retardedness going on, the TS should always really be = ours or > ours, as FMODE comes after
...
FJOIN, and FJOIN lowers the TS to be = ours if its greater.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6901 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 14:36:21 +00:00
brain
5aed4a6700
FTOPIC from another server now (correctly) shows local server name to obscure remote
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6900 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 14:24:18 +00:00
w00t
13be617717
Fix MKPASSWD in helpop, remove MKSHA256, it's now accessed by MKPASSWD.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6899 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-07 12:52:57 +00:00
brain
f861c272db
Fix for bug #278 reported by aredridel, LUSERS output is required as per RFC 1459 on connect, m_conn_lusers is therefore redundant (so i removed it :p)
...
The core automatically triggers an LUSERS on connect now, which modules can still intercept the way they always have.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6898 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-06 20:15:55 +00:00
brain
ae7c3cf066
Fix for bug #263 - note, this NEEDS QA TESTING
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6897 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-06 14:00:49 +00:00
brain
246f0a4e1f
Now it deletes the makefiles too
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6896 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-06 12:54:58 +00:00
brain
e01c1bdd37
make distclean now removes .config.cache (thanks HiroP)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6895 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-06 12:54:11 +00:00
brain
c2cd89cd52
gcc fails it at exporting symbols properly :/
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6894 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-06 00:17:11 +00:00
brain
3f8f4808f2
Fix for bug typo, dont let it creep into the release!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6892 e03df62e-2008-0410-955e-edbf42e46eb7
v1.1.7
2007-05-05 20:53:26 +00:00