8434 Commits

Author SHA1 Message Date
om
fe4001942d Add optional 3rd parameter to Channel::SetTopic() which overrides all access checks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10085 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04 17:43:15 +00:00
w00t
333b19d80c Add TOPIC overriding to m_override, requested by Namegduf.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10084 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04 15:37:39 +00:00
w00t
eed401b6ec Oops, actually, return 1 to block change, 0 to check it, -1 to allow it regardless. Update docs in header also.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10083 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04 15:31:21 +00:00
w00t
904161fdba Add Channel::SetTopic(User *, std::string &) to set topic on a channel. Use it in CommandTopic. Also modify OnLocalTopicChange to accept a new return value. (0 == proceed as normal, 1 == don't check anything, -1 == disallow change silently).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10082 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04 15:28:29 +00:00
w00t
83c6918cfa Fix override snotices for KICK not being sent for some cases, reported by Namegduf.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10080 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04 14:58:22 +00:00
peavey
5a0852e11b Fix doc for globops module reported by satmd.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10078 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-04 14:36:55 +00:00
w00t
18f24e05d3 Add extban +b O: for opertype banning.. mostly useful for +be to create a channel with only one level of opertype permitted. Thanks partly to Kein.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10077 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-30 17:52:06 +00:00
w00t
6a869d0701 Remove last vestige of libircdfoo, by changing tag into a single identifier marking object as requiring compilation into a .o (minor commit)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-29 18:58:38 +00:00
w00t
f610b723f0 Move umode_n to umode_s, second half of last commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10075 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-29 16:36:10 +00:00
w00t
5db3290d93 After discussions and thought, move umode +n to +s. This increases cross-ircd compat (both charybdis and unreal use +s for snomasks, others might in the future). This also decreases complexity for new users, and removes the redundancy. This means that just +s +cC for example will be required to view connects. (files to be renamed in next commit to not confuse svn).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10074 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-29 16:28:37 +00:00
w00t
16f8c2df7e Use correct character
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10073 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-27 11:22:07 +00:00
brain
f88c6a71fc Update nsis installer scripts to new path of config files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10072 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-26 20:18:43 +00:00
brain
aef2273b3f The cows gathered around, 'case the STEAKS were so high.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10071 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0a5
2008-07-26 18:58:26 +00:00
w00t
2bc769f0a8 Make m_operflood actually work, thanks to KrazyBox for this.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10070 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-24 19:04:26 +00:00
peavey
c440833393 fix a little typo I found while checking some other stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10068 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-23 08:37:45 +00:00
brain
bc0d7a138d Fix bug #579, missing end of stats and snomask when module returns 1 from OnStats, thanks jackmcbarn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10067 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-22 23:06:16 +00:00
w00t
62a971acc2 Fix bug #575, taxonomy finally works properly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10065 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-22 13:44:34 +00:00
w00t
7e94b31104 Remove duplicated member, kept in classes.. Possible now we have a pointer. this saves (another) 4 bytes per user.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10064 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21 17:11:02 +00:00
w00t
33d11457b4 Add extban +b S:, strips colours, same as chmode +S
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10063 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21 16:45:34 +00:00
w00t
9bc29e32cb Add extban +b Q: - prevents matching users from kicking
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10062 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21 16:42:16 +00:00
w00t
165b4d196c Add extban +b T:, prevents /notice to channel, same as chmode +T
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10061 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21 16:40:22 +00:00
w00t
3e0c153132 Add CHANOPS_EXEMPT support to m_noinvite, also add +b V: extban
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10060 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21 16:36:20 +00:00
w00t
e97cce71bb Add extban +b c: - blocks colour from matching users, same as chmode +c
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10059 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21 16:31:45 +00:00
w00t
644ed25d8d Add extban +b B: - matching users may not use caps, same as chmode +B (or +P in 1.1)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10058 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-21 16:29:47 +00:00
pippijn
edf6ba3cf1 changed my email address
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10057 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 17:46:49 +00:00
special
9e5c8d4ffe Removed excess spaces before some lines in /info - thanks psychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10056 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 17:05:26 +00:00
brain
a3bf47ca3f Alter prompt to indicate that multiple tests can be queued by entering multiple choices
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10055 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 16:08:02 +00:00
brain
831e7c4646 Fix output corruption on startup if ports fail to bind, spotted by psychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10054 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 16:00:17 +00:00
w00t
4c286655e1 Remove custom members for +lk storage
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10053 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 14:30:00 +00:00
brain
93d7a1311d 304 -> RPL_SYNTAX
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10052 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 12:19:30 +00:00
brain
cef4be3dde Fixes to make win32 build again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10051 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 11:21:39 +00:00
w00t
2e664462f2 is rfc of sorts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10050 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 09:51:52 +00:00
w00t
33ce32eb8b More numerics.h conversion
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10049 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 09:37:09 +00:00
w00t
ccfcdda274 Fix potential off-by-one on large reads (thanks psychon)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10048 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 09:15:01 +00:00
w00t
ca781714c1 Fixes to some stuff that writes on memory it shouldn't (thanks psychon).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10047 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 08:53:56 +00:00
brain
2d4a319d96 Fix total mess of makefile dependency macros (all depending on stuff they dont NEED to depend on)
and fix includes in all of m_spanningtree (everything including just about everything, doesnt need to)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10046 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 23:48:06 +00:00
brain
17fe68de72 Fix the 4-byte read madness discovered by psychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10045 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 23:19:23 +00:00
w00t
6a016cb0a6 Fix broken build
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10044 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 21:56:01 +00:00
w00t
a67b9de174 Change modes in channels and users to use std::bitset instead of an array. This saves 56 bytes per channel, and 112 bytes per channel, with no loss in speed or ease of use in code. :). Thanks (VERY) much to Special for telling me about this.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10043 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 20:34:14 +00:00
w00t
e93827e41c Fix compile. Also remove write error stuff, as that was used prior to the goodness of global culllist. This makes getting user's quit messages to them (on excess recvq etc) much easier.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10042 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 19:17:15 +00:00
w00t
1a307616ad Use a switch (cleaner, probably more efficient) for user status here, also, we can remove another member (::timeout) that is only actually used before registration by doing a bit of addition.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10041 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 18:42:53 +00:00
w00t
33bc4e4863 Remove totally unused member, saving sizeof(unsigned int) per user record
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10040 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 18:22:09 +00:00
w00t
fcd19d4de4 Hook OnUserPreKick and disallow kick on +k users also
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10039 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 11:11:59 +00:00
w00t
bffac12387 Spaces to tabs, EXORCISE THE DEMON. Thanks psychon.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10038 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 10:55:11 +00:00
brain
8882a85bf9 jackmcbarn's patch left something out
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10037 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 00:38:00 +00:00
brain
5458e9684d Crash fix from jackmcbarn, thanks, fixes bug #578
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10035 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-19 00:33:07 +00:00
w00t
5750ab5723 Set parent to empty if there is no parent, pippijn, does this fix your duplicate links?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10034 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-18 17:50:17 +00:00
w00t
398e33c16b Okay. This will probably break *everything*, but hey. Use static linking (JUST) for the main binary. This has advantages in terms of shorter compile time and in slightly reduced file size used, so it is worth it. Configure is also a tiny bit simpler in some ways, so.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10033 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-18 17:13:10 +00:00
aquanight
58ecf39129 Implement <disabled:usermodes> and <disabled:chanmodes>.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10032 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-18 15:29:58 +00:00
w00t
21bb2f2acf Combine IP+port in a failed port list, show (the more helpful) error string so the user can have some idea of what actually went wrong.. why we forced people to strace is beyond me..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10030 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-17 20:07:58 +00:00