Adam
a762391446
Anope 2.0.2 Release
2015-03-22 15:34:50 -04:00
Adam
c070a00114
Fix m_ldap_oper to build
2015-03-22 15:34:49 -04:00
Adam
e7c3090a70
Fix new version stuff with empty version extra
2015-03-22 14:38:29 -04:00
Adam
5dd6326eff
Merge pull request #115 from aFreshMelon/aFreshMelon-patch-1
...
XML-RPC responses also don't have a methodName tag
2015-03-22 13:56:07 -04:00
Adam
535ad6fd70
Merge pull request #112 from attilamolnar/2.0+inspircdmlock
...
InspIRCd 2.0: Ensure ircd-side mlock and topic lock state is always what we think it should be
2015-03-22 13:56:01 -04:00
Robby-
5df4ac9a98
Make the signed kick/ban message format configurable.
2015-03-22 13:44:08 -04:00
Adam
4c54a3939f
Change git version name back to what it was, which the core uses
2015-03-22 10:26:53 -04:00
Adam
3d09748d1c
Fix typo in Changes
2015-03-22 10:26:26 -04:00
Sebastian Barfurth
36a4be7623
XML-RPC responses also don't have a methodName tag
...
Following http://xmlrpc.scripting.com/spec.html
2015-03-18 19:06:08 +01:00
Adam
5fc72660e4
Merge pull request #113 from attilamolnar/2.0+openssl
...
m_ssl_openssl: SSL context option changes
2015-03-12 17:53:52 -04:00
Adam
303e652a35
Only apply keepmodes on channel sync
...
Not sure why this was this way originally, it interfears with the
chanserv +r check to determine how new the channel is because it
restores +r. This seems to still work okay, though.
2015-03-12 17:52:38 -04:00
Adam
e5447a8024
Update Changes.conf and Changes
2015-03-12 17:52:38 -04:00
Attila Molnar
1bee18fcf4
m_ssl_openssl: Allow disabling SSLv3 via the config
2015-03-12 19:35:07 +01:00
Attila Molnar
a57e41304f
m_ssl_openssl: Set sane default context options
2015-03-12 19:35:07 +01:00
Adam
e0e8147ee0
Merge pull request #114 from anope/revert-99-extemp_protected
...
Revert "Added kickcheck override for users with protected privs"
2015-03-12 13:30:12 -04:00
Adam
41a24afa4f
Revert "Added kickcheck override for users with protected privs"
2015-03-12 13:29:50 -04:00
Adam
4266d17e8c
Update cmake version parsing code to deal with recent build version changes
...
Update Config.cs to no longer hardcode VS generators, it seems no longer necessary.
Fix new version system, cannot return C++ types from extern C functions
2015-03-12 11:20:18 -04:00
Adam
8d3fa47ab2
Merge pull request #99 from H7-25/extemp_protected
...
Added kickcheck override for users with protected privs
2015-03-12 08:15:59 -04:00
Adam
64781817ac
Merge pull request #105 from miwob/master+use-uid-for-svsnick
...
- Change SendForceNickChange() to use UIDs
2015-03-12 08:15:49 -04:00
Adam
69c18f131f
Merge pull request #106 from miwob/master+SendClientIntroduction
...
- Update SendClientIntroduction() to use * for account names instead of ...
2015-03-12 08:15:44 -04:00
Adam
e030771cbc
Merge pull request #107 from miwob/master+misc-hybrid-changes
...
- Misc updates to the hybrid protocol modules:
2015-03-12 08:15:38 -04:00
Adam
03f05d3948
Merge pull request #111 from aFreshMelon/fix-xmlrpc-response
...
Correct wrong XML response tag
2015-03-12 08:15:31 -04:00
Adam
32c4908c8c
Document that m_ldap_authentication:disable_register_reason blocks grouping
2015-03-12 08:01:27 -04:00
Adam
c5ff7c6868
Show passlen in PASSWORD_TOO_LONG
2015-03-12 08:00:12 -04:00
Attila Molnar
89257d9bce
InspIRCd 2.0: Re-set server-side topiclock when an incoming METADATA topiclock from a bursting server changes it
2015-03-11 23:46:00 +01:00
Attila Molnar
e47aacad0e
InspIRCd 2.0: Re-set server-side mlock when an incoming METADATA mlock from a bursting server changes it
2015-03-11 23:46:00 +01:00
Attila Molnar
72ade225a7
InspIRCd 2.0: Pass use_server_side_topiclock and use_server_side_mlock references to METADATA handler
2015-03-11 23:46:00 +01:00
Attila Molnar
a52af0d260
InspIRCd 2.0: Add METADATA handler, pass everything to inspircd12/metadata
2015-03-11 23:46:00 +01:00
Adam
92920f5a1c
Only matches sqlines against channels if they begin with a #
2015-03-11 14:49:03 -04:00
Peter Tseng
bf727285bc
SendConfirmMail: Replace %E with new email
...
The old mailer message said the user is changing email "to %e", which is
changing TO the OLD email. But instead, the user is actually changing
the email to the new email.
We could change %e to be the new email, but maybe some users of Anope
have already configured their messages to assume %e is the old email. So
instead, add a new %E that is replaced with the new email.
2015-03-11 14:44:38 -04:00
Adam
310e95a92e
Allow cs clone to clone levels too
2015-03-11 14:36:56 -04:00
Adam
78bff86dab
Make cs_clone behave closer to how the help describes it
2015-03-11 14:24:42 -04:00
Adam
3f093d708f
Normalize masks given to cs_kick, use entry to match them against users
2015-03-11 12:13:08 -04:00
Adam
c3cc5804c3
Normalize masks given to cs_ban, use entry to match them against users
2015-03-11 11:26:12 -04:00
Adam
dc58239c8a
Remove cloak prior to applying vhost in insp20 fhost handler
2015-03-11 10:48:25 -04:00
Adam
b67963353f
Hide set desc because set description exists
2015-03-11 09:30:02 -04:00
Adam
a899c04ec2
Strip color codes when looking up fantasy commands.
2015-03-11 09:16:32 -04:00
Adam
fb17bc85ea
Redesign m_ldap to no longer rely on undefined behavior
...
Accessing the same LDAP* from multiple threads at once is always
undefined, even if one thread is just polling ldap_result.
Instead keep one thread per connection and issue blocking queries on the
thread.
2015-03-11 08:48:08 -04:00
Sebastian Barfurth
474cd7a99b
Correct wrong XML response tag
2015-03-07 19:05:41 +01:00
Adam
7de4b86b7f
Move GIT_VERSION define to build.h, otherwise version.h is bumped per commit which forces a rebuild
2015-02-23 20:43:22 -05:00
miwob
76337bc04a
- Misc updates to the hybrid protocol modules:
...
- best supported version is 8.2.x
- fixed UID message handler to cope with account names being '*'
- minium required TS version is TS6 now
2015-02-15 21:47:55 +01:00
miwob
abe232601b
- Update SendClientIntroduction() to use * for account names instead of 0
2015-02-15 21:33:22 +01:00
miwob
6ada3ec871
- Change SendForceNickChange() to use UIDs
2015-02-15 21:27:01 +01:00
H7-25
61a8dd57f7
Added kickcheck override for users with protected privs
2015-02-11 08:11:25 +01:00
Adam
94427b234c
Merge pull request #102 from miwob/master+protocol-missing-modes
...
- Added some missing user modes to the ircd-hybrid protocol module
2015-02-10 19:18:46 -05:00
Adam
fb3c819bee
Merge pull request #103 from miwob/master+hybrid-misc-changes
...
Misc changes to the ircd-hybrid protocol module:
2015-02-10 19:18:40 -05:00
Adam
f0c23e80a2
Merge pull request #104 from miwob/master+anope.de_DE.po-minor-update
...
- Minor update to anope.de_DE.po; removed double space + proper translat...
2015-02-10 19:18:30 -05:00
miwob
1e86c46000
- Minor update to anope.de_DE.po; removed double space + proper translation
2015-02-10 22:48:22 +01:00
miwob
2f49065500
Misc changes to the ircd-hybrid protocol module:
...
- Increase MaxModes to 6
- SendLogout(): send "+d *" instead of "+d 0"
- Update copyright year
- Removed user mode +z from supported modes
2015-02-08 12:29:16 +01:00
miwob
41ae2dbefb
- Added some missing user modes to the ircd-hybrid protocol module
2015-02-07 19:08:55 +01:00
Adam
f44280a9c9
Merge pull request #101 from miwob/master+hybrid-protocol-no-globops-override
...
- Removed SendGlobopsInternal() override as it's basically a duplicate o...
2015-02-06 17:21:33 -05:00
Adam
d147db9023
Merge pull request #100 from miwob/master+hybrid-protocol-cmode-ctcp
...
- Update ircd-hybrid protocol module to support channel mode 'C' (no CTC...
2015-02-06 17:21:30 -05:00
miwob
f484a68dee
- Removed SendGlobopsInternal() override as it's basically a duplicate of SendGlobopsInternal() in protocol.c
2015-02-06 20:28:30 +01:00
miwob
8550e22167
- Update ircd-hybrid protocol module to support channel mode 'C' (no CTCPs)
2015-02-06 19:39:31 +01:00
Adam
9834518b28
Fix os_mode to handle channels going away due to mode changes, and maybe cs_mode
2015-02-05 20:16:43 -05:00
Adam
64ca357b13
Make module version system work
2015-02-03 19:38:23 -05:00
Adam
dc5039e994
Properly unescape xmlrpc
2015-02-03 18:42:35 -05:00
Adam
845ca576b4
More properly track topic change sources and allow users with access to change topics through topiclock
2015-01-28 22:57:15 -05:00
Adam
2264a206d2
Check virtual mode bases better
2015-01-26 15:10:18 -05:00
Adam
d324e91520
Fix negatively locking param modes in default mlock
2015-01-26 13:16:25 -05:00
Adam
9ac1b4ba01
Merge pull request #98 from flotwig/patch-1
...
cs_entrymsg to use SET permission, not isFounder
2015-01-11 19:38:35 -05:00
Zach Bloomquist
7e0cb6d8ef
cs_entrymsg to use SET permission, not isFounder
...
Correcting syntax error
(i don't actually know c++)
2015-01-11 19:29:33 -05:00
Adam
3055b7272b
Fix m_xmlrpc server configuration option
2015-01-10 15:37:49 -05:00
Adam
969cd5dd6c
Always use source name when logging server kicks
2015-01-10 15:29:19 -05:00
Adam
1f02278a1c
Log user away messages
2015-01-10 15:24:48 -05:00
Adam
32007f81cf
Add networkinfo:nick_chars option to allow configuring additional characters allowed in nicknames
2015-01-10 15:19:40 -05:00
Adam
609f87d39f
Include botserv/* in default Services Administrator opertype to behave like 1.8
2015-01-10 15:19:40 -05:00
Adam
e88925e587
Merge pull request #94 from webczat/2.0
...
Fix issue 1627.
2014-12-28 20:30:36 -05:00
Adam
c46ec39e50
Only disable CMP0026 if it exists
2014-12-28 20:01:11 -05:00
Adam
9b2202dfee
Merge pull request #93 from alexbarton/ngircd-fix-servertoken
...
ngIRCd protocol module: fix servertoken
2014-12-28 18:12:38 -05:00
Adam
03f6e26550
Merge pull request #95 from webczat/2.0x
...
fix chanserv.cpp using Get for bool extensible items
2014-12-28 18:11:37 -05:00
Adam
c554e85063
Merge pull request #96 from webczat/termfork
...
Anope will now fork even when not started from a tty, like init scripts.
2014-12-28 18:10:40 -05:00
Adam
2892c9580f
Replace spaces in opertypes with underscores in stats o
2014-12-28 18:09:37 -05:00
Adam
3c0994a89e
Fix crash when non-users register channels
2014-12-28 18:08:58 -05:00
Adam
e800afcfac
Fix adding regmoderated mode twice in plexus
2014-12-28 18:08:39 -05:00
Adam
2ad697898f
Disable CMP0026 warnings on cmake 3
2014-12-19 18:55:50 -05:00
Michał Zegan
e4068249dd
Anope will now fork even when not started from a tty, like init scrpits.
...
It is useful for init systems or startup scripts, because it allows easily waiting until services connect to the uplink, without them forking it wouldn't be possible to tell if they finished initialization or not unless they would communicate directly with init systems like systemd.
2014-12-12 19:53:30 +01:00
Michał Zegan
d45cb5451e
Fix issue 1627.
...
It required that the FHost message was rewritten for the insp20 protocol module instead of relying on inspircd12's version.
The insp20 version internally removes +x mode on host change.
2014-12-12 03:56:38 +01:00
Michał Zegan
d9c9f2a407
Changed calls to Get() for bool extensible items to HasExt in the chanserv module, remove duplication of code.
2014-12-12 03:48:00 +01:00
Adam
7213413f8b
Remove os exception move
2014-12-11 19:33:06 -05:00
Adam
516211c88a
Add SAVE support to inspircd20
2014-12-07 19:32:21 -05:00
Robby-
d576137f28
Update the dutch language file.
2014-12-07 17:42:00 +01:00
Adam
e1f5e030bc
Change webpanel access add to just add via the commands, split Command::Run into two so I can do this as I need to run named commands for it
2014-12-05 20:24:27 -05:00
Adam
afffeb0a1d
Update Kill() calls to pass source pointer instead of name
2014-12-05 17:27:08 -05:00
Adam
4fc71bb22f
Link m_ldap against ldap_r not ldap
2014-12-02 15:49:14 -05:00
Alexander Barton
d4732faf41
Correctly assign nicks to their respective host servers
...
Use the "server token" parameter of NICK commands to find the host server and
correctly assign the nick name to this server.
This allows Anope to correctly free all nick names again when (remote) servers
leave the network, which fixes arbitrary "KILL attacks" when such nick names
reconnect later on.
Initial debugging and patch by DukePyrolator, thanks a lot!
2014-11-30 21:50:11 +01:00
Alexander Barton
95684187b6
Fix server token assignment of servers in the network
...
1. the directly linked server, our upstream, always has token "1", and
2. for remote servers in the network, the token and description filds
were interchanged during registration,
therefore up to now no server could be found by Server::Find() using its
assigned server token.
2014-11-30 21:49:34 +01:00
Adam
4f33b17f96
Move automatically identified for log message to users
2014-11-25 09:00:15 -05:00
Adam
0cdab86978
Set require_oper in /os oper
2014-11-24 22:10:12 -05:00
Adam
4f76bee273
Fix sid generator generating invalid sids after sid 999
2014-11-24 22:00:30 -05:00
Adam
8557a4161a
Allow 0 ttb in flood kicker
2014-11-15 08:50:37 -05:00
Adam
c9008cdafa
Fix access dup check to account for accounts
2014-11-15 02:13:10 -05:00
Adam
8a7793da0c
Fix bahamut mode handler
2014-11-08 04:31:56 -05:00
Adam
64b332730e
Fix not removing zones from server->zones
2014-11-08 04:30:27 -05:00
Adam
36837330ae
Fix typo in botserv.example.conf
2014-11-06 05:40:51 -05:00
Adam
8b64e46ef1
Show access denied if /os kick can't kick the target
2014-11-04 23:54:16 -05:00
Adam
c4460784c2
Allow mlock to be enforced when unsetting defcon modes
2014-11-04 01:36:27 -05:00
Adam
408ec02406
Move chan register event prior to applying final mode changes, so cs_mode can set mlock on register. #1620
2014-11-04 00:09:00 -05:00
Adam
67fc8c3416
enc_bcrypt is no longer extra because it doesn't depend on external dependencies anymore
2014-11-03 23:50:40 -05:00
Adam
fb2fd9e9d3
Fix log message when enabling botserv kickers
2014-11-03 23:45:22 -05:00
Adam
527e04275f
Merge pull request #91 from Alef-Burzmali/2.0+fix-addakiller
...
Keep the akiller's name when updating the reason.
2014-11-03 23:43:50 -05:00
Adam
c895bd2e59
Merge pull request #92 from Alef-Burzmali/2.0+update-fr
...
Update the French translation
2014-11-03 23:37:08 -05:00
Thomas Fargeix
94b2d1ac12
Update French language file.
2014-10-29 00:08:21 +01:00
Thomas Fargeix
a76e074f6d
Update the French install instructions.
2014-10-28 22:59:26 +01:00
Thomas Fargeix
2f004c2aab
Keep the akiller's name when updating the reason.
...
The name of the oper issuing an akill or a sxline could be removed by updating the reason,
even though addkiller was enabled.
2014-10-24 23:49:02 +02:00
Adam
b940077553
Validate credentials sent via sasl more
2014-10-16 21:38:46 -04:00
Adam
c8ded08b43
Show extended strftime output for suspend info
2014-10-14 21:17:47 -04:00
Adam
62a01dcc87
Set access masks to the case of the nick they match, if any
2014-10-14 21:09:41 -04:00
Adam
0cd3bfa24f
Fix module event prioritization which was broken with the newer
...
auto-attach event stuff.
Also remove logically dead code from os_defcon, and make os_defcon akill
similar masks to os_session when enforcing session akills.
Fixes #1618 which relies on os_session to be prioritized before
os_defcon.
2014-10-14 18:58:55 -04:00
Adam
e46bcff324
Move nick register event to make it easier for modules to determine if a newly registered nick is confirmed or not. Add confirm event.
2014-10-12 19:25:39 -04:00
Adam
67719e8db1
Add exempts and optionally allow authenticated users past m_dnsbl
2014-10-12 15:03:51 -04:00
Adam
48be41cf7b
Squit uplink when I receive an squit for myself
2014-10-12 14:34:15 -04:00
Adam
5ceee5df38
Hide dumb user notice if we are quitting
2014-10-12 14:32:17 -04:00
Thomas Fargeix
1c12976958
Add an operserv/oper/modify privilege.
...
The operserv/oper command privilege allows to add operators
with fewer or the same privileges as ourself.
This new privilege allows to have operators who can use operserv/oper
to see the list of operators and their privileges, but cannot add new
operators.
2014-10-12 10:54:11 -04:00
Thomas Fargeix
96583892c6
Add a chanserv/access/list privilege
...
Replace the existing chanserv/access/list command access,
only used in cs_xop, by a privilege with the same name.
It which allows read-only access to cs_access, cs_flags, cs_xop
and cs_akick, while the already-existing chanserv/access/modify
privilege allows to modify them.
2014-10-12 10:52:48 -04:00
Robby-
0991d4e199
operserv.example.conf: Add missing permission definition to os_defcon's command. Fixes bug #1617 .
2014-10-09 23:35:38 +02:00
Adam
58233fb8bc
Log when memos are sent
2014-10-06 14:06:36 -04:00
Adam
be928b5bbc
Clean up collide timers on identify, otherwise you can login and logout before the timer tick which will still enforce the collide
2014-10-06 14:06:36 -04:00
Adam
31bc1d6b82
Don't add duplicate akills in os_session
2014-10-06 14:06:36 -04:00
Adam
829ef1b7bd
Clear pending collided state on release, fixes colliding users using recover into enforcers
2014-10-06 14:06:36 -04:00
Adam
b068874f40
Add a confirmation reply to ns recover on an unidentified user with svsnick
2014-10-06 14:06:36 -04:00
Adam
18b3c572f4
ngircd doesn't allow sourceless messages
2014-10-06 14:06:36 -04:00
Adam
af034928cb
Remove auto cmake downloader Config stuff, which randomally doesn't work on some systems for no reason
2014-10-06 14:06:36 -04:00
Adam
8d40a750cc
Update INSTALL to reflect cmake requirement
2014-10-06 14:06:36 -04:00
DukePyrolator
6a3f7c01b1
changed the engine of the chanstats table from InnoDB back to MyISAM to avoid increasing the auto_increment counter on each INSERT IGNORE. For existing tables please manually run 'ALTER TABLE anope_chanstats ENGINE=MyISAM'.
2014-09-14 11:36:05 +02:00
DukePyrolator
4c2bf72cb6
fixed typo in the last commit
2014-09-14 11:12:54 +02:00
DukePyrolator
8e7b742ec7
added missing support for operonly and silentoperonly in os_defcon
2014-09-14 11:11:22 +02:00
DukePyrolator
19b47c7bae
fixed a possible crashbug in the german language file
2014-09-13 13:06:56 +02:00
Adam
3bdc81348a
Fix unserializing badwords to not add dupes when unserializing an existing bw object
2014-09-01 13:11:21 -04:00
Adam
bf8f62c32d
Change Channel::GetModeList to return a copy of the mode list, not a
...
pair of lower/upper bound iterators.
Sometimes when iterating the list, like in cs_mode, we can modify the
contents of it, which combined with mlock always agressively trying to
readd modes to it can do bad things.
2014-08-24 16:39:04 -04:00
Robby-
d417241a5b
cs_set: Fix logging for SET SUCCESSOR to correctly log overrides.
2014-08-11 20:16:42 +02:00
Adam
e5cb2018e5
List opertypes in /os oper info
2014-08-03 19:15:08 -04:00
Adam
df6095fed2
Make botserv fantasy override its own privilege
2014-08-03 19:10:15 -04:00
Adam
8210e82a5e
Fix some botserv help entries from showing when they shouldn't
2014-08-03 19:08:12 -04:00
Adam
d6d72cd803
Add cs_mode:max config option
2014-08-03 18:57:00 -04:00
Adam
063d9bf5f6
Allow "modify" in flags to be optional
2014-08-03 18:33:56 -04:00
Adam
830e8617e6
Allow "set" in topic set to be optional
2014-08-03 18:28:54 -04:00
Adam
cf89e10a4c
Add ms_ignore:max config option
2014-08-03 18:22:03 -04:00
Adam
6842ad36f7
Do not allow unconfirmed users to send memos or request vhosts
2014-08-03 18:05:41 -04:00
Adam
24f17de4aa
Fix stats u on Windows
2014-08-03 18:03:07 -04:00
Adam
bbb04d4662
Fuzzy italian signkick help
2014-08-01 16:12:41 -04:00
Robby-
20052247c3
Regenerate anope.en_US.po
2014-07-27 08:05:54 +02:00
Robby-
8b61a529a2
Update the dutch language file.
2014-07-27 07:48:50 +02:00
Robby-
1137c50095
Fix a few help messages.
2014-07-27 07:34:02 +02:00
Adam
52d422d020
Merge pull request #81 from miwob/master+invite_ts
...
hybrid.cpp: add our own SendInvite() which sends the channel's timestamp...
2014-07-26 13:41:47 -04:00
Adam
43c460e593
Merge pull request #85 from attilamolnar/2.0+help
...
Correct the help text of options:useprivmsg ("defmsg" -> "msg")
2014-07-26 13:40:58 -04:00
Adam
17ba13bc95
Use ts version of services stamp when the account is unconfirmed on Unreal as 3.2.10.4 has changed thie behavior
2014-07-26 13:28:43 -04:00
Adam
60229b15d2
When object unserialization fails (due to not having dependency objects) bump the ts to try again later.
2014-07-26 13:24:52 -04:00
Adam
3c88f3b8cf
Check modetimes in CheckModes before enabling bouncy modes
2014-07-15 17:02:14 -04:00
Adam
93cb5d06db
Fix channelcount with clone
2014-07-11 01:02:02 -04:00
Adam
7a64d95f7c
Fix Log() calls in m_ldap_oper
2014-07-11 00:22:32 -04:00
Attila Molnar
ff66e15f38
Correct the help text of options:useprivmsg ("defmsg" -> "msg")
2014-07-04 04:39:12 +02:00
Adam
07902c03fd
Check that the list of items isn't NULL when destructing types
2014-06-28 23:15:59 -04:00
Adam
d9949320c7
Don't try to setuid down until after we signal the parent to exit, unless we're not forking. Also don't issue the run as root warning if we're going to setuid later.
2014-06-28 23:15:59 -04:00
Robby-
b0ec178e85
Merge pull request #84 from Zantox/2.0
...
Minor cs_unban Lang Update @Robby-
Updated HostServ Command English Language
Updated ChanServ Command English Language
Updated BotServ Command English Language
2014-06-26 22:17:51 +02:00
Zantox
f753a925ad
Minor cs_unban Lang Update @Robby-
2014-06-26 22:14:10 +02:00
Zantox
74dbfe0699
Updated HostServ Command English Language
2014-06-25 02:16:09 -04:00
Zantox
3bea089793
Updated ChanServ Command English Language
2014-06-25 02:09:43 -04:00
Adam
ff93355af8
Hold a reference to the type in Serialize::Checker in the event it goes away, and invalidate the type pointer of objects when the type goes away
2014-06-23 15:44:06 -04:00
Zantox
8fecad3039
Updated BotServ Command English Language
2014-06-23 07:47:26 -04:00
miwob
37bd2c238e
hybrid.cpp: add our own SendInvite() which sends the channel's timestamp along the INVITE command. INVITE with channel TS will be mandatory in some future release of ircd-hybrid
2014-06-19 16:27:05 +02:00
Adam
9a947fa435
Correct some language strings
2014-06-17 08:37:19 -04:00
Adam
4f7868b125
Log more when unable to backup databases in db_flatfile
2014-06-15 04:50:26 -04:00
Adam
8066378471
Fix WindowsGetLanguage()
2014-06-10 22:00:26 -04:00
Adam
ab27b792b0
Track SVSKILL on unreal
2014-06-09 17:18:21 -04:00
Adam
f1c3bdd55e
Correct wording of log message when ldap services are created
2014-06-09 17:16:55 -04:00
Adam
08edb15bea
Fix help log output example
2014-06-09 16:44:15 -04:00
Adam
56c6ef4449
Fix information leak in cs_updown
2014-06-09 16:36:49 -04:00
Adam
6526d2d8b3
Fix Windows release build with gettext
2014-06-01 13:53:32 -04:00
Adam
76ab5c2c38
Update WIN32.txt reflecting new Windows stuff
2014-05-31 23:54:50 -04:00
Adam
54e98f017c
Always log when the uplink socket errors, and give possibly helpful advise
2014-05-31 21:17:46 -04:00
Adam
bb7706d0f7
Anope 2.0.2-git
2014-05-31 19:09:23 -04:00
Adam
16e0b72d2d
Update FindGettext.cmake for new Windows stuff and fix language.cpp
...
compile
2014-05-31 18:30:50 -04:00
Adam
b578e32531
Anope 2.0.1 Release
2014-05-30 20:57:32 -04:00
Adam
4d8e3b847d
Fix f627a3bacd, really make BotInfo::Part fire events like the normal user part message does
2014-05-30 20:57:23 -04:00
Adam
eaade23f9b
Update language files
2014-05-30 18:14:55 -04:00
Adam
f20bac996d
Fix Windows build and update library names to the newer ones.
...
Also fix crash on Windows when unloading a module because it threw an
exception.
2014-05-30 18:14:55 -04:00
Adam
93bfd4cbe1
Updates Changes and Changes.conf
2014-05-30 16:16:54 -04:00
Adam
6620f9e9bd
Don't allow setting -y on inspircd, secureops etc will try to enforce this
2014-05-30 15:16:03 -04:00
Adam
dc64cfc940
Remove version.log
2014-05-30 15:16:03 -04:00
Adam
f8829783d2
Queue the grouped nicks to update when NickCore::SetDisplay is called, since they serialize the display field
2014-05-30 15:16:03 -04:00
Adam
d6e600f74b
Fix access check in ns_group
2014-05-30 15:16:03 -04:00
Adam
5f7113bc0e
Merge pull request #80 from attilamolnar/2.0+exampleconf
...
Fix the name of the SSL modules in comments in modules.conf.example
2014-05-30 15:15:43 -04:00
Robby-
dc4daa25a7
example.chk: Use a more reliable way to detect if services are running.
2014-05-30 18:27:15 +02:00
Robby-
0cadaedfbe
Update the dutch language file.
2014-05-30 18:24:42 +02:00
Attila Molnar
11ad788dfd
Fix the name of the SSL modules in comments in modules.conf.example
2014-05-30 18:12:26 +02:00
Adam
38a60d9142
Merge pull request #78 from H7-25/it_IT
...
Updated italian lnguage file
2014-05-28 13:48:19 -04:00
Adam
e8ad509aa5
Fix dlerror() on Windows and do not abort if err is not set
2014-05-27 12:55:03 -04:00
Adam
37b3ed8ef3
Do not normalize extban masks
2014-05-27 12:55:03 -04:00
Adam
a6af422184
Set timer owner for nickserv timers
2014-05-27 12:55:03 -04:00
Adam
53acb73193
Fix default db name in db_flatfifle in a couple places
2014-05-27 12:55:03 -04:00
H7-25
57f6d4f49c
Updated italian language
2014-05-22 21:24:38 +02:00
Adam
d0467adea2
Merge pull request #79 from Jyzee/langFR-Patch
...
Make command group descriptions translatable.
2014-05-22 13:21:46 -04:00
Jyzee
16924f68c0
Update french language file.
2014-05-22 19:05:25 +02:00
Jyzee
d280c48e6b
Regenerate french language file.
2014-05-22 19:04:26 +02:00
Jyzee
f0c0daa644
Make command group descriptions translatable.
2014-05-22 19:00:56 +02:00
Adam
7a2d027e1d
Fix deflanguage from 4034b3054a, this shouldn't have been removed
2014-05-21 10:47:50 -04:00
Adam
f627a3bacd
Core prep for p10 stuff
2014-05-21 08:50:40 -04:00
Adam
5a1257b7f0
Fix extra space in log messages with logtype channel and no source
2014-05-21 08:40:54 -04:00
Adam
866f3f32ab
Speed up akill xline checks
...
Cache xline nick, user, host, etc instead of rebuilding it everytime its
requested. Store users ip in sockaddr form and not string form to
prevent having to rebuild sockaddrs when checking xlines.
Also do not try to convert empty config values in Config::Get as this
can be rather common if a non string configuration value is not set, and
the cost of the ConvertException is great.
2014-05-20 21:16:00 -04:00
Adam
20ce170024
Show account names in log messages
2014-05-20 12:19:26 -04:00
Adam
4034b3054a
Add English language file which users can edit to modify language strings
2014-05-20 11:41:05 -04:00
Adam
e581158645
Fix two compile warnings in access.cpp on newer compiles
2014-05-20 10:00:34 -04:00
Adam
01021131ca
Also search channel descriptions and topics in /cs list
2014-05-20 09:52:26 -04:00
Adam
13ea98a02e
Fix server usercounter not being incremented when servers are bursting
2014-05-19 22:46:28 -04:00
Adam
db56a61f86
Fixup previous commit when serializing access entries
2014-05-19 22:45:45 -04:00
Adam
df321a118e
Fix access lists showing the wrong mask if the display nick for a group
...
expires but the group still exists. This can cause access entries for
nicks to not be deleted whenever the nicks are deleted.
2014-05-14 19:10:23 -04:00
Adam
1931fcf0e5
Fix webpanel mode list to only show real list modes
2014-05-13 22:59:41 -04:00
Adam
63b02b8c97
Sanitize nuh masks more to prevent the other side from rewriting them, which screws with our internal tracking of them
2014-05-13 22:57:53 -04:00
Adam
1c8a77ab9f
Accept an optional reason for svspart
2014-05-13 19:52:05 -04:00
Adam
0c7d53f81e
Don't show both online from's if they have the same mask in ns_info
2014-05-13 18:38:14 -04:00
Adam
bcc3ae5742
Merge pull request #76 from miwob/master
...
Update ircd-hybrid protocol module
2014-05-13 17:50:07 -04:00
Adam
4e67e0897a
Merge pull request #77 from Cronus89/patch-2
...
Update Paramater length for os_dns to fix DNS SET
2014-05-13 17:47:33 -04:00
Michael Wobst
76a9538441
Fix compile warning in base64.cpp:B64Encode
...
/home/ircd/anope/src/base64.cpp: In function ‘void Anope::B64Encode(const Anope::string&, Anope::string&)’:
/home/ircd/anope/src/base64.cpp:85: warning: ‘input’ is used uninitialized in this function
2014-05-13 18:28:53 +02:00
Cronus89
91c7862579
Update Paramater length for os_dns to fix DNS SET
2014-05-13 11:12:00 -05:00
Michael Wobst
6b6bc81999
Update ircd-hybrid protocol module
2014-05-13 18:00:10 +02:00
Adam
1f2c385bb9
Add config options to ns_suspend and cs_suspend to configure which information is shown to non opers
2014-05-01 21:03:32 -04:00
Adam
d79dd0b7d7
Pass password to nick register event so modules like m_ldap_authentication can create the respective account using the decrypted password which might not always be available
2014-05-01 18:38:17 -04:00
Adam
8b2e8137f6
Merge pull request #75 from attilamolnar/2.0+inspircd-globops
...
InspIRCd 2.0: Recognize GLOBOPS in CAPAB CAPABILITIES
2014-05-01 18:19:23 -04:00
Adam
732466d8f4
Merge pull request #74 from attilamolnar/2.0+fix-os-stats
...
Fix undefined symbol error when loading os_stats, caused by 82008d50
2014-05-01 18:19:01 -04:00
Attila Molnar
3049916ade
Fix undefined symbol error when loading os_stats, caused by 82008d507c
2014-04-30 01:15:10 +02:00
Attila Molnar
0afd666f22
InspIRCd 2.0: Recognize GLOBOPS in CAPAB CAPABILITIES
2014-04-29 22:55:10 +02:00
Adam
8021a53ac4
Fix misc help output to not be case sensitive
2014-04-26 18:30:54 -04:00
Adam
0663f5e412
Fire the on user quit event when bots are deleted too
2014-04-26 17:45:16 -04:00
Adam
2ee496b8ac
Change the "does not expire" string in ns_group to NO_EXPIRE which is translatable
2014-04-26 17:30:58 -04:00
Adam
3abb18721b
Accept non server sources for SQUIT
2014-04-26 17:21:33 -04:00
Adam
4eb0a3bdb7
Fix ModeManager::RebuildStatusModes, not all modes are in GetChannelModes() at the time this is called
2014-04-26 15:24:19 -04:00
Adam
6a03eb69eb
Add "virtual mode" support
...
This allows fully tracking extbans and other modes set by a different
underlying mode, such as InspIRCd's namedmodes
Add two configuration options to cs_ban to configure which mode is set
and whether or not to kick banned users.
Add default "mute" fantasy command to botserv.example.conf
2014-04-25 16:51:06 -04:00
Adam
4fa2a00bd5
Close timed out proxyscan sockets better
2014-04-25 16:47:10 -04:00
Adam
82008d507c
Fix Stas::Unserialize to return the instance
2014-04-25 16:46:37 -04:00
Adam
2ab4f175a8
Don't allow users to join channels they are already in
2014-04-25 16:20:23 -04:00
Adam
c9473bcc67
Fix botserv/kick/bolds desc
2014-04-24 17:10:06 -04:00
Adam
75ed5a9b59
Fix os_stats counters not saving with db_sql_live. Bleh.
2014-04-24 01:50:50 -04:00
Adam
f010ab7dbf
Resend ircd login name on /ns set display
2014-04-24 01:40:56 -04:00
Adam
00b2cc9ce6
Require at least user@host format for akills. Fix XLine::GetHost() not returning anything if an xline only has a host
2014-04-24 01:38:45 -04:00
Adam
d52cc7bcbc
Bug #1587 - fix bot change not properly reintroducing clients
2014-04-24 01:25:25 -04:00
Adam
63838fa77d
Merge pull request #72 from attilamolnar/2.0+svsnickfix
...
Fix SVSNICK target being a nick even when UIDs are available
2014-04-20 02:03:03 -04:00
Attila Molnar
e36f8143e3
Fix SVSNICK target being a nick even when UIDs are available
2014-04-19 14:35:50 +02:00
Adam
72b26043b2
Remove unused event.
...
Mark some oper only usermodes as oper only.
Fix reading SID in TS6_SID_Retrieve
2014-04-18 02:21:06 -04:00
Adam
f369157906
Use OnChanRegistered instead of OnCreateChan to set default mlocks.
...
Because OnCreateChan is called from ChannelInfo's constructor, during
DB loading it could cause mode locks to be unserialized without having
all channels loaded, which breaks things.
2014-04-17 16:58:04 -04:00
Adam
ba46b8e4ab
Merge pull request #70 from Jyzee/langFR-Patch
...
Update French language file.
2014-04-09 02:26:24 -04:00
Jyzee
254901aace
Update French language file.
2014-04-09 07:49:14 +02:00
Adam
c1c45a5db9
Do not clear all extension items tied to objects when unserializing.
...
Instead, pass the old object to the unserialization functions and let
them incrementally update the object.
2014-04-07 15:28:07 -04:00
Adam
a65e95837f
Document that memo_mail can be in nickserv defaults. These should move to memoserv.conf one day.
2014-04-06 23:13:46 -04:00
Adam
43219d3906
Do not apply module changes on rehash until after the new config has been applied. Fix renaming opertypes on reload.
2014-04-06 23:01:10 -04:00
Adam
1f8dec4c24
Fix /os mode to not require a mode when setting param modes which taken no argument when setting
2014-04-06 18:09:36 -04:00
Adam
fb5c5e3442
Set minus no arg on +l in all proto mods
...
Set oper modes/vhost on oper too, evan after iding
Add umode +q to plexus
2014-04-02 22:37:35 -04:00
Adam
e357c39774
Add travis config
2014-04-01 23:34:02 -04:00
Adam
10732baec2
Fix compile error in cs_set_misc with C++11 enabled
2014-03-31 22:41:02 -04:00
Zantox
068c6989de
Small Grammar Fix
2014-03-31 20:19:03 -04:00
Adam
317d55f3f1
Fix ns_set password to read the correct parameter.
...
Even though 1 is past the "end" of the vector, because vectors never
shrink and due to how the command parser works, it is always less than
the capacity, and almost always contains what is in params[0] (though
this is of course implementation dependant), which is why this was not
identified sooner, as it executes cleanly under valgrind on every machine I can find.
2014-03-31 20:11:36 -04:00
Adam
1397fda786
Bump to Anope 2.0.1-git
2014-03-31 20:10:51 -04:00
Adam
4ccc478830
Anope 2.0.0 Release
2014-03-23 08:58:02 -04:00
Adam
100ecbb9be
Update version.log
2014-03-23 08:57:19 -04:00
Adam
cdf636e696
Regen langauge files
2014-03-23 08:57:08 -04:00
Robby-
45878bf182
SASL: Also disallow suspended nicks to login using EXTERNAL mechanism. Improve the log message for failed logins.
2014-03-22 21:14:02 +01:00
Adam
f1bec3999d
Do not allow SASL login to suspended nicks
2014-03-22 07:21:22 -04:00
Adam
a259244297
Make bouncymodes harder to trigger by only bumping server modcount when something changes
2014-03-20 10:53:27 -04:00
Adam
c1da009de3
Show a better log message when disconnecting from the uplink
2014-03-19 02:40:48 -04:00
Robby-
4f412bc213
cs_set_misc: Add missing override capability for services operators, and logging.
2014-03-19 03:05:54 +01:00
Robby-
1882916dc4
Update the dutch language file.
2014-03-17 01:15:28 +01:00
Robby-
f436ce9912
m_ssl_gnutls: Fix deprecation warnings when using newer GnuTLS versions.
2014-03-17 00:58:51 +01:00
Adam
ef9729fb02
Mark all channels as syncing when we connect to our uplink. They will
...
finish syncing later when the uplink syncs. Normally the channel state
is fully synced here anyway, except if we do not know the modes the
uplink has yet.
Also fix a related issue with resetting chanels and bouncing modes on
our clients, if this is done prior to knowing which modes exist it would
silently fail.
2014-03-14 22:13:04 -04:00
Adam
296a75f2a9
Do not allow users to add certs that other users are using. Only allow adding certfps if the user is using it.
2014-03-13 20:07:50 -04:00
Adam
bce7237d9f
Set LDAP_OPT_NETWORK_TIMEOUT to 0 in m_ldap to prevent the asynchronous
...
library cals from blocking...
Fix multiple possible null pointer derefs if modules pass null
interfaces (none currently do, but it is allowed)
Fix memory leak from results when services are destructed
Timeout queries that never come back.
2014-03-11 09:45:34 -04:00
Robby-
85834e19dc
Update the dutch language file.
...
ns_maxemail: Bold code 2 -> 002.
2014-03-10 22:30:41 +01:00
Adam
ca6b3723a9
Merge pull request #64 from ShutterQuick/2.0+hsgroupsync
...
2.0+hsgroupsync
2014-03-10 07:32:24 -04:00
Adam
23b1086072
Merge pull request #63 from alexbarton/ngircd-fix-KILL
...
ngircd protocol module: really kill users
2014-03-10 07:31:34 -04:00
Adam
860deb14ce
Do not send unregistered notice to users who are logged in, even if their nick isn't registered
2014-03-10 07:26:09 -04:00
Adam
62885fa462
Set nickserv's modesonid on login too
2014-03-10 05:04:25 -04:00
Adam
3fef01e35b
Fix compile error in m_sasl_dh-aes and m_sasl_dh-blowfish on unusually old g++ versions
2014-03-10 04:56:17 -04:00
Adam
b0597e35ec
Do not allow nickserv/ungroup to bypass ns_maxemail, and allow opers to bypass ns_maxemail
2014-03-10 04:31:08 -04:00
Adam
8d1ad6fbe5
Make nickserv/glist show the correct expire time for unconfirmed nicks
2014-03-09 22:59:16 -04:00
Adam
750569201a
Add missing space to session exception expiration message
2014-03-09 22:56:25 -04:00
Adam
1a1a781b72
Remove mail:restrict as it is no longer useful. Changes nickserv/resetpass default to allow normal users to use it.
2014-03-09 10:07:13 -04:00
DukePyrolator
4b5ce8a972
irc2sql: removed the currentusers field from the chan table, keeping it updated on each join/part eats too many ressources
2014-03-09 04:55:35 +01:00
Daniel Vassdal
98cfdd26c4
ns_group: Don't require a nick param when logged in
2014-03-06 04:55:30 -08:00
Daniel Vassdal
051a42b547
hs_group: Allow automatic HS GROUP-ing on NS GROUP, and allow vhosts to be per account rather than nick.
2014-03-06 04:55:30 -08:00
Adam
220e278213
Open database files using std::ios_base::binary in db_flatfile, which Windows can require
2014-03-05 20:23:44 -05:00
Alexander Barton
547fe0da1a
ngircd protocol module: really kill users
...
ngIRCd doesn't send a QUIT for each user KILL'ed, so kill them immediately.
2014-03-05 10:26:54 +01:00
Adam
09bec79b47
Fix 2 crashes from removing the permanent channel mode from channels which do not exist
2014-03-04 04:15:32 -05:00
Adam
55a5affcb8
Do not allow guest nicks to exceed nicklen, and use a default enforcer ident/host if none is provided
2014-03-04 04:15:32 -05:00
Robby-
a8b4297023
Update the dutch language file.
2014-03-03 19:20:56 +01:00
Adam
5969362425
When unserializing channels with persist, set their ts=now. If we are supposed to lower it later we will then.
2014-03-01 22:41:45 -05:00
Adam
3ceae33b16
Convert limit and key mlocks in db_old
2014-03-01 21:56:26 -05:00
Adam
5de4c1fc97
Set +x on plexus when vhosts are activated, fix desync from /hs off
2014-03-01 21:40:47 -05:00
Adam
fd109048dd
Make db_old load entrymsg
2014-03-01 21:20:32 -05:00
Adam
a0747516ce
Export interface for cs_entrymsg
2014-03-01 21:20:18 -05:00
Adam
605e1f2a03
Make chanserv/invite show who invited you
2014-03-01 21:12:27 -05:00
Adam
dc23c58869
Fix botserv help to show the correct fantasy characters
2014-03-01 21:11:58 -05:00
Adam
b7e646ec83
Allow opers with chanserv/administration to use fantasy, even if they don't have the access for it
2014-03-01 20:02:17 -05:00
Adam
4d54358745
When unserializating channels and persist is set, only assign chanserv if the perm channel mode doesnt exist
2014-03-01 19:59:40 -05:00
Adam
ed0882ec04
Do not enforce mlock when enforcing mlock
2014-03-01 18:39:10 -05:00
Adam
526c4e4659
Check modes after applying mlocks in db_old
2014-03-01 18:38:14 -05:00
Adam
b70f72bf2b
Do not allow changing the email of unconfirmed accounts
2014-03-01 04:31:52 -05:00
Adam
2ad4c1906e
Fix incorrect comment in modules.example.conf
2014-03-01 04:27:45 -05:00
Adam
049760cc7e
Allow svsjoin/svspart on yourself
2014-02-28 00:30:35 -05:00
Adam
e2ecec31b5
Hybrid does not let us add resvs as a server, but the core expects to be able to qline bot nicks before introducing the bots as a way to prevent collisions, so try harder to find a valid bot to send resvs on startup
2014-02-27 23:21:50 -05:00
Adam
fee016bb84
Handle nick collisions somewhat instead of blindly overwriting the nicks
...
in memory, which does weird things.
For fun different ircds implement this differently (Unreal compares
timestamps, TS6 compares timestamps and user username/host), and whether
or not we get a kill for our user also varies, so just kill everyone.
This can't really happen anyway with properly set qlines, only if
services haven't yet set the qlines, or possibly in a bot add/nick
user introduce race, or with enforcers, which not many ircds require.
2014-02-27 22:42:54 -05:00
Adam
d24fb03917
Allow registration=mail forceemail=false to work, and simply give fully registered accounts to people who do not provide an email to nickserv/register
2014-02-27 04:49:28 -05:00
Adam
5adc8bfefc
Do not take modes from users in channels with secureops off if we are always lowering channels timestamps to their creations
2014-02-27 04:48:48 -05:00
Adam
abcf0cde5a
Remove unreachable code in config.cpp, this error is caught earlier
2014-02-26 19:32:25 -05:00
Adam
8f3bd314ed
Fix not detecting eols in the config reader when the end of the line is the end of a multiline comment
2014-02-26 19:26:50 -05:00
Adam
e2d456d4ce
Do not setuid/gid down until after modules are loaded
2014-02-26 19:24:32 -05:00
Adam
96202ae545
Log successful SASL auths
2014-02-24 22:23:12 -05:00
H7-25
2b0229d4e2
Update the italian language file
2014-02-25 03:22:55 +01:00
Adam
beaa3196b3
Update Spanish translation, from Isaac Fontal <i_fontal@hotmail.com>
2014-02-24 16:14:40 -05:00
Adam
b6d771a114
Anope 2.0.0-rc4 Release
2014-02-24 00:31:07 -05:00
Adam
d3ed756bd0
Update version.log (why do we keep this around?)
2014-02-24 00:30:57 -05:00
Adam
f8308841a6
Package dlls in src/win32 on Windows
2014-02-24 00:30:47 -05:00
Adam
1dfdf36fc3
Fix m_ssl_gnutls to send its cert. Most of this is from Attila.
2014-02-24 00:06:38 -05:00
Adam
4ac3ade126
Use a more reliable way to detect if services are running in anoperc
2014-02-23 23:08:35 -05:00
Robby-
212abeb986
webcpanel: Update copyright year.
...
ns_cert: Bold code 2 -> 002.
2014-02-23 23:42:43 +01:00
Robby-
7d4427c313
Regenerated language files.
2014-02-23 05:24:06 +01:00
Adam
e836be489e
Store a cert->account map and use it for SASL EXTERNAL and certfp auth
2014-02-22 17:46:00 -05:00
Adam
1db5c555d6
Merge pull request #58 from attilamolnar/2.0+gnutlsdep
...
[WIP] Make m_ssl_gnutls work with at least GnuTLS v2.8
2014-02-22 13:46:36 -05:00
Attila Molnar
bb1b015103
Make m_ssl_gnutls work with at least GnuTLS v2.8
2014-02-22 16:59:10 +01:00
Robby-
e42684ac39
Update italian translation, from Simos.
2014-02-22 16:40:56 +01:00
H7-25
d7de7eee60
Italian language completed translation, first release
2014-02-22 15:58:36 +01:00
Robby-
0a390ad392
Regenerated language files, and updated dutch language file.
2014-02-22 15:56:34 +01:00
Adam
aa6b12c5eb
Fix Windows build
2014-02-21 21:54:01 -05:00
Adam
e2bd08fbff
Add some missing serial updates in os_dns
2014-02-21 20:50:23 -05:00
Adam
2047934060
Regenerate Italian language file
2014-02-21 19:57:31 -05:00
Adam
e07dcbff08
Update italian translation, from Simos
2014-02-21 19:57:31 -05:00
Adam
e3a8a45a61
Merge pull request #56 from ShutterQuick/2.0+noxcrypt
...
enc_bcrypt.cpp: Get rid of the libxcrypt dependency by including code fr...
2014-02-21 19:49:29 -05:00
Lee Holmes
f1ad7fd582
fix comment, activate not active
2014-02-21 20:41:41 +00:00
lethality
43f2645b32
update help info
2014-02-20 20:07:38 +00:00
Daniel Vassdal
b6935e706c
enc_bcrypt.cpp: Get rid of the libxcrypt dependency by including code from libxcrypt, and move enc_bcrypt out of extras
2014-02-20 11:42:20 -08:00
lethality
a3c845894d
Updated services crontab location
2014-02-20 17:11:11 +00:00
lethality
5933a5e9b1
Merge remote branch 'upstream/2.0' into 2.0
2014-02-18 22:24:24 +00:00
Adam
109d8f431f
Do not import forbids with wildcards in their names, how 1.8 treats wildcaded forbids depends on the IRCd
2014-02-18 13:04:16 -05:00
Adam
1edb7e776b
Merge pull request #54 from attilamolnar/2.0+webcpanelfix
...
Don't create zero length DataBlocks in BinarySocket::Write()
2014-02-18 12:59:37 -05:00
Adam
928e2e1b7c
Fix loading noexpire channels in db_old
2014-02-18 12:57:31 -05:00
Adam
5a140e4898
Merge pull request #55 from attilamolnar/2.0+alphabet
...
Alphabetically order modules in modules.example.conf
2014-02-18 12:54:22 -05:00
Attila Molnar
f64393941e
Alphabetically order modules in modules.example.conf ('r' < 's' and 'w' < 'x')
2014-02-18 13:00:46 +01:00
Adam
0db81ca46a
Merge pull request #52 from attilamolnar/2.0+gnutls
...
Add support for SSL connections powered by GnuTLS
2014-02-17 22:21:08 -05:00
Adam
7f7144de1f
Merge pull request #53 from attilamolnar/2.0+reuseaddrfix
...
Fix setsockopt() with SO_REUSEADDR not working due to wrong argument type
2014-02-17 22:20:38 -05:00
Attila Molnar
3883716883
Turn BinarySocket::Write() into a no-op when called with l == 0
2014-02-18 03:28:02 +01:00
Attila Molnar
5beea4eb7e
Fix TemplateFileServer writing empty messages resulting in zero length DataBlocks being created and later passed to SocketIO::Send()
...
Found while testing m_ssl_gnutls, fix suggested by @Adam-
2014-02-18 03:27:12 +01:00
Attila Molnar
2d0fdb74d1
Fix setsockopt() with SO_REUSEADDR not working due to wrong argument type
2014-02-18 02:31:01 +01:00
Adam
80588fba81
Fix os_ignore to work correctly with SQL
2014-02-17 19:43:19 -05:00
Adam
ef7dc94f88
Move most of the implementation details out of os_forbid.h, fixes crashing if a module adding a forbid is unloaded without removing the forbid
2014-02-17 19:39:25 -05:00
Adam
7b4eec9748
Remove docs/IRCD, it is very outdated and no longer correct at all
2014-02-17 13:53:45 -05:00
Adam
baff417652
Move encryption.h to include/modules
2014-02-17 13:53:04 -05:00
Adam
7074944810
Fix not applying ipv[46]_cidr to connecting clients in os_session, #1573
2014-02-17 13:39:49 -05:00
Attila Molnar
1c39d25cca
Add m_ssl_gnutls
2014-02-17 01:12:01 +01:00
lethality
f1c5c27f3f
Merge branch '2.0', remote branch 'upstream/2.0' into 2.0
2014-02-16 23:49:57 +00:00
Attila Molnar
9c0134ee2c
Rename m_ssl to m_ssl_openssl and update docs
2014-02-17 00:41:36 +01:00
Adam
959fee5937
Fix Windows build
2014-02-16 18:28:39 -05:00
Adam
3854a5570f
Merge pull request #51 from ShutterQuick/2.0+oldforbid
...
db_old.cpp: Correctly import forbidden nicks and chans
2014-02-16 16:07:36 -05:00
Daniel Vassdal
ab1e0ebfb3
db_old.cpp: Correctly import forbidden nicks and chans
2014-02-16 12:56:27 -08:00
Adam
cffe864900
Merge pull request #50 from ShutterQuick/bcrypt
...
Add enc_bcrypt
2014-02-16 14:10:25 -05:00
Daniel Vassdal
bc1575318b
modules.example.conf: Update examples for bcrypt - also clearify that m_sasl_dh* requires openssl
2014-02-16 11:07:37 -08:00
Daniel Vassdal
a71d0f6757
enc_bcrypt: Add module
2014-02-16 11:07:36 -08:00
Adam
50d7bf710e
Merge pull request #48 from ShutterQuick/2.0+nnghsasl
...
Add SASL mechanisms DH-AES and DH-BLOWFISH
2014-02-14 19:15:43 -05:00
Daniel Vassdal
d44bcef31b
modules.example.conf: Add info about m_sasl_dh-aes and m_sasl_dh-blowfish
2014-02-14 16:06:24 -08:00
Daniel Vassdal
c0ce71e55a
m_sasl_dh-blowfish: Add module
2014-02-14 15:12:25 -08:00
Daniel Vassdal
0eeb0caf08
m_sasl_dh-aes: Add module
2014-02-14 15:12:25 -08:00
Daniel Vassdal
b13bded620
sasl.h, m_sasl.cpp: Move IdentifyRequest to the header
2014-02-14 15:03:42 -08:00
Daniel Vassdal
1b1180fda6
base64.cpp: B64Decode(): Don't crash on "="
2014-02-14 13:42:21 -08:00
Daniel Vassdal
a4ecfa5bc0
Anope::string: Add .data()
2014-02-14 13:05:01 -08:00
Daniel Vassdal
3c8009b495
sasl.h, m_sasl.cpp: Add RemoveSession(), DeleteSessions(), and have active sessions closed when a Mechanism is unloaded
2014-02-14 13:05:01 -08:00
Adam
ca85df2d74
Don't convert XOP access entries to levels in db_old
2014-02-14 11:10:20 -05:00
Adam
5dfa6598c2
Do not sync channels in Channel::Reset if they are in the middle of syncing, and checkmodes in Channel::Sync. Fixes channel modes sometimes not being set if always_lower_ts is on
2014-02-14 11:09:53 -05:00
Adam
f428d61045
Use better command access checking in webpanel for operserv/akill
2014-02-13 19:42:02 -05:00
Adam
fc50edf046
Disable m_sasl by default
2014-02-12 14:49:22 -05:00
Adam
269c2786e9
Add SASL EXTERNAL support. Thanks to ShutterQuick for fixing and testing.
2014-02-12 14:39:41 -05:00
Adam
96fc940af7
Only trim newlines and carriage returns in BufferedSocket::GetLine
2014-02-11 19:25:44 -05:00
Adam
8c8e6d464a
Make initial registration notices with mail less repetitive
2014-02-11 18:08:09 -05:00
Adam
22976b8a7c
Fix flags +* or -* sometimes incorrectly reporting opers as overriding when they are not
2014-02-11 17:33:28 -05:00
Robby-
4dff710361
ns_suspend: Show the setter of the suspension and the reason when manually unsuspending.
2014-02-11 03:57:15 +01:00
Robby-
fe80d2cded
os_modinfo: Add ability to list only extra modules.
2014-02-11 02:26:00 +01:00
Adam
16dac87841
Regenerate anope.it_IT.po
2014-02-10 10:03:38 -05:00
H7-25
30c59562e0
Update Italian language translation
2014-02-10 09:57:24 -05:00
Adam
6d61a84286
Add an opertype priv "protected" to not allow services to kick a user.
...
Also classify ulines as protected
2014-02-09 18:51:52 -05:00
Adam
f6b8596c7b
Log memoserv/sendall
2014-02-09 10:59:36 -05:00
Adam
da6760f606
Properly convert suspended nicks and channels in db_old
2014-02-07 13:28:07 -05:00
Adam
ad962ad759
Allow other modules to suspend nicknames and channels without having to subclass suspendinfo
2014-02-07 13:12:57 -05:00
Adam
5327becf41
Allow other modules to be able to view and modify cs and ns set_misc data
2014-02-07 13:02:20 -05:00
Adam
f43c99c5cc
Merge pull request #46 from ShutterQuick/patch-1
...
Update cs_updown.cpp
2014-02-07 12:12:52 -05:00
ShutterQuick
c0a491cb06
Update cs_updown.cpp
...
cs_updown: Make CS DOWN remove all modes, not just one
2014-02-07 18:04:16 +01:00
Adam
66cc965fd7
Ignore nonblocking errnors on socket operations
2014-02-05 15:26:03 -05:00
Adam
2440514a7b
Document a little more accurrately the privilege stuff and document why the access lists behave as they do
2014-02-05 08:46:56 -05:00
Adam
fad1da81a3
Process mode changes in ns_ajoin before joining users, fixes not being able to ajoin users to +R channels on Unreal
2014-02-05 08:46:56 -05:00
Adam
bb0e2a9a07
Make it easier to use fantasy without botserv, and document it
2014-02-05 08:46:51 -05:00
Adam
4f8c4f8fef
Actually just allow mode clear to take any mode name
2014-02-03 10:05:13 -05:00
Adam
25957111b2
Fix typo in mode clear, exempts -> excepts
2014-02-03 08:41:27 -05:00
Adam
9a8895359a
Apply the last commit to cs_list
2014-02-02 03:21:02 -05:00
Adam
53f8db0198
Merge pull request #44 from ShutterQuick/2.0+listfix
...
ns_list: Fix typo (NS_SUSPENDED -> SUSPENDED)
2014-02-01 11:42:08 -08:00
Daniel Vassdal
f94cb7fb11
ns_list: Fix typo (NS_SUSPENDED -> SUSPENDED)
2014-02-01 11:24:52 -08:00
Adam
c30fb13a0c
Merge pull request #43 from ShutterQuick/2.0+ajoinfix
...
2.0+ajoinfix
2014-02-01 11:12:39 -08:00
Daniel Vassdal
7926238fd2
Improve IsChannelValid()
2014-02-01 10:55:12 -08:00
Daniel Vassdal
211a944210
ns_ajoin: Treat ',' as a separator.
2014-02-01 10:35:10 -08:00
Daniel Vassdal
cff61617e1
commasepstream: Add a allowempty param
2014-02-01 10:31:17 -08:00
Adam
4455d4346c
Merge pull request #42 from ShutterQuick/2.0+saslfix
...
Have SASL login in on the account name instead of nick alias
2014-01-31 02:43:26 -08:00
Daniel Vassdal
405b41ec87
protocol/(inspircd12/unreal/charybdis): Have SASL login in on the account name instead of nick alias
2014-01-31 01:41:27 -08:00
Adam
bacb276181
Use TBURST on hybrid to set topics
2014-01-28 14:45:21 -05:00
Adam
4c1f6b48d8
Merge pull request #40 from attilamolnar/2.0+csclonefix
...
Fix cs_clone allowing users to clone a channel to itself
2014-01-26 16:08:23 -08:00
Attila Molnar
53a78c2688
Fix cs_clone allowing users to clone a channel to itself
2014-01-26 20:06:36 +01:00
Robby-
e61a283c02
Update language files.
2014-01-26 16:33:28 +01:00
Adam
c3302194eb
Anope 2.0.0-rc3 Release
2014-01-26 01:18:38 -05:00
Adam
cd184596a2
Only have extras rerun config if it was successfully run before. Config can create the build directory even if cmake isn't found.
2014-01-26 01:17:58 -05:00
Adam
f28b1142f5
Correct error message in gl_global to reference the right module
2014-01-26 01:15:19 -05:00
Adam
87230c17b7
Fix extra space in the unknown command error message
2014-01-26 01:14:58 -05:00
Adam
a29b7897f0
Use the SQLine reason in the kick reason for sqlined channels
2014-01-26 01:14:28 -05:00
Adam
e965bc3049
Revert "Rename db_old hash plain -> none which is what 1.8 calls it"
...
This reverts commit 9a9ca41750 .
2014-01-26 01:03:43 -05:00
Adam
01780c9e7a
Fix setname handler on unreal
2014-01-25 17:58:20 -05:00
Adam
4d3363f83f
Anope 2.0.0-rc2 Release
2014-01-21 21:55:59 -05:00
Adam
75e27b6a47
Update version.log
2014-01-21 21:55:59 -05:00
Adam
fbaca3f7a1
Update language files
2014-01-21 21:55:56 -05:00
Adam
81b01bb55b
Fix missing colon in stats and top, fix smileys and actions count. Patch by bush.
2014-01-21 21:10:06 -05:00
Adam
1027ec667a
Made the chanstats confs try and look similar to every other configuration file
2014-01-21 17:33:57 -05:00
Adam
4d9273efa4
Unbreak account stuff from commit ccae59430a.
2014-01-21 17:20:15 -05:00
Robby-
67c13b41ee
Update and fix some more typos in the dutch language file.
2014-01-21 00:29:59 +01:00
Robby-
10386a39f0
Make the server connected (uplink) message more sane.
2014-01-21 00:28:40 +01:00
Adam
dc19ea3993
Alias charybdis/uid -> ratbox/uid because grawity is weird
2014-01-20 02:19:06 -05:00
Adam
2261fa3fe7
Fix example config for bs_autoassign
2014-01-20 00:05:53 -05:00
Adam
fab9f0fecc
Change config readers bool logic to accept unrecognized values as yes
2014-01-19 19:03:19 -05:00
DukePyrolator
df8d85d80a
m_chanstats: fixed the config options NSDefChanstats and CSDefChanstats
2014-01-19 08:11:19 +01:00
DukePyrolator
4b192addd2
m_chanstats: do not count negative words if you have more smileys in a line than words
2014-01-17 06:49:49 +01:00
Adam
d27594f8a6
Fix webcpanels chanserv/modes page
2014-01-15 16:59:32 -05:00
Adam
43aaaeab7e
Mark m_sql_log, m_rewrite, and m_dnsbl as extra so they show up in modlist with no parameters, as they are "unusual"
2014-01-14 03:50:08 -05:00
Adam
ccae59430a
Call User::Login after sending the login event, in case a module wants to act on the fact that the ircd sees the user as logged in
2014-01-14 03:49:22 -05:00
Harakiri
974adb7ce1
Update French language file
2014-01-12 17:44:14 -05:00
Adam
f3531e7564
Fix not initializing module in the main log constructor
2014-01-10 01:41:03 -05:00
Adam
15a27c69ba
Move oper count and vhost stuff to set/remove mode internal
2014-01-09 17:01:18 -05:00
Adam
0b0db75ba5
Fix repeat kicker message to show the correct number of times a user can say the same thing before being kicked
2014-01-09 16:45:07 -05:00
Adam
b90a9a339a
Fix empty ttb in bs kick repeat on
2014-01-09 16:09:38 -05:00
Adam
64f9aed761
Hook to OnUserLogin instead of OnNickIdentify in ns_ajoin
2014-01-09 15:46:04 -05:00
Adam
56f2cbeb62
Remove help access levels from help output because it no longer exists
2014-01-09 15:44:58 -05:00
Adam
9a9ca41750
Rename db_old hash plain -> none which is what 1.8 calls it
2014-01-09 15:42:31 -05:00
Adam
e19661e1de
Make DNSBL log message use the module type and give it a category too
2014-01-09 15:41:49 -05:00
Adam
09879c5c15
Fix compile with -std=c++11
2014-01-06 13:59:14 -05:00
Adam
12f55e4711
Hide +s channels from /cs list output to non opers
2014-01-06 12:54:29 -05:00
Adam
43c56541d5
Add a small note about the extras script in docs/INSTALL
2014-01-06 00:19:19 -05:00
Adam
d3078850d2
Merge pull request #39 from DanielOaks/cs-status-channelname
...
Add the channel name to reply of cs-status, useful for applications
2014-01-05 15:39:09 -08:00
Daniel Oaks
d4f7db122d
Add the channel name to reply of cs-status, useful for applications
2014-01-06 09:37:08 +10:00
Adam
201ad9c191
Always run uid/sid generation loop at least once to not reuse older ids immediately
2014-01-04 17:54:04 -05:00
Adam
45c0bf8f32
Fix recovering enforcers not properly quitting them
2014-01-04 17:45:58 -05:00
Adam
d64855b35b
Allow m_sql_authentication to disable email changing similar to m_ldap_authentication
2014-01-04 13:44:47 -05:00
Adam
4617fdbf3d
Make /cs status use the chanserv/auspex privilege instead of chanserv/access/modify, as it only views channel access
2014-01-04 13:41:08 -05:00
Adam
ac204745c8
Also make m_sql_authentication block nick grouping if it is disabling registration
2014-01-04 12:24:04 -05:00
Adam
e1ce6174ce
Move modules/stats under extras because it depends on m_mysql, update its config a bit to look similar to all of the other config files
2014-01-03 19:54:14 -05:00
Adam
2781b6946d
Add an explicit privilege for os_config's modify
2014-01-02 11:44:18 -05:00
Adam
1e502c8450
Update os_config
2014-01-02 11:41:49 -05:00
Adam
004c4cbe5f
Move modules out of extras that dont have external dependencies
2014-01-02 11:03:33 -05:00
Adam
072202c181
Have db_old load news.db too
2014-01-02 10:56:57 -05:00
Adam
595dad4ec1
Update copyright to 2014. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2014-01-01 20:48:38 -05:00
Adam
a374e245fd
Make inspircds module class names not conflict because it confuses OSX
2014-01-01 16:21:38 -05:00
Adam
6e6543d3ed
I don't think this OnBotKick to hold channels is necessary anymore as Sync should cover everything now, and this causes weird things when the last user in a channel kicks themselves out using the bot. Also handle users rejoining a channel while its held better.
2013-12-31 16:12:21 -05:00
Adam
6124af68cc
Show the command name and not service name in the access denied log messages
2013-12-31 15:31:56 -05:00
Adam
f21b40bfb4
Set last_realname in m_ldap_authentication when new nicks are registered
2013-12-30 10:50:15 -05:00
Adam
567700b5a6
Also have m_ldap_authentication disable nick grouping if registration is disabled
2013-12-30 10:42:07 -05:00
Adam
3b80da9cbd
Fix loading kicker ttb data
2013-12-30 10:34:57 -05:00
Robby-
c519119197
Don't expire ignores when NoExpire is enabled.
2013-12-29 05:27:36 +01:00
Robby-
780bc7ca14
Do not translate command parameters that do not have translatable strings in them, or are not meant to be translated in the first place.
2013-12-28 23:28:30 +01:00
Adam
3d12752655
Fix naming collision between modes +g and +G on inspircd, rename the common badwords censor mode to censor
2013-12-28 09:39:16 -05:00
Adam
9c0ceed36a
Readd channel description to ns alist output
2013-12-27 17:24:52 -05:00
Adam
187973c16a
Allow inverting opertype privs and commands, to make them behave like the log settings
2013-12-27 17:20:47 -05:00
Adam
072631aa38
Fix forbid add message to show the correct type
2013-12-27 17:15:07 -05:00
Adam
b638b653d2
Fix crash when channels are registered that do not exist by non users
2013-12-27 17:12:01 -05:00
Adam
0fb2b60cff
Fix xmlrpc dochannel example
2013-12-26 21:06:26 -05:00
Adam
16f3f0cbc0
Don't leak ldap results
2013-12-26 21:06:07 -05:00
Adam
b28db7bc55
Fix crash with badwords of type 'end' and possibly when messages contain only control codes. Also fix matching single words at the beginning of lines.
2013-12-26 17:33:06 -05:00
Adam
9bf9cfcf5e
If using db_flatfile:fork, don't allow multiple saves to happen at one time on shutdown/restart wait for any pending saves to finish
2013-12-26 16:08:56 -05:00
Adam
0c9750a22b
Default the founder privilege to level 10000 as I had originally intended. Document set fonder usage in cs_levels help.
2013-12-26 15:19:48 -05:00
DukePyrolator
69c5aeca57
updated the extras script to find the cmake binary installed by ./Config
2013-12-26 19:44:41 +01:00
DukePyrolator
59c3c1326b
m_chanstats: 1) fixed the SASET message 2) decreased the size of some VARCHAR fields, this hopefully fixes the 'key too long' error on some systems.
2013-12-26 18:46:20 +01:00
Adam
5829d7da39
Add a config option for whether or not to reset the TS of persistent channels to their registration date
2013-12-26 12:06:39 -05:00
Adam
2f29c1388c
Fix not setting the persist flag on newly registered channels when the permanent channel mode is set prior to registering or during registration
2013-12-26 11:39:35 -05:00
Adam
fc0e8264c0
Fix dropping channels in the webpanel
2013-12-26 08:02:19 -05:00
Adam
19eccf0cae
Fix setting english language in db_old, document how not setting defaultlanguage really works
2013-12-25 15:16:04 -05:00
Adam
dbf5106c09
Fix sqline on hybrid
2013-12-25 14:29:41 -05:00
Adam
3029a2db1a
Don't epxire forbids when noexpire mode is on
2013-12-24 20:58:06 -05:00
Adam
53df61b4c2
Make webcpanel's nickserv alist behave more like /ns alist
2013-12-24 20:48:09 -05:00
Adam
7d27689d05
Set a description for the resend command
2013-12-24 20:20:47 -05:00
Adam
421e194c5a
If last usermask and last realhost are the same, don't show both because duh
2013-12-24 18:19:44 -05:00
Adam
c442bc18af
Do not allow /cs clone access to add duplicate masks to the access list or allow growing the list pass accessmax. Fix reading botservs case sensitive config option. Give a better error message when trying to clone badwords if there is no botserv.
2013-12-22 08:37:49 -05:00
Adam
1c02961b60
Anope 2.0.0-rc1 Release
2013-12-20 22:57:58 -05:00
Adam
268d529078
Update version.log
2013-12-20 22:57:56 -05:00
Adam
4bc4b98ac7
Regenerate language files
2013-12-20 22:56:38 -05:00
Adam
e8b42607e6
Update Changes and Changes.conf
2013-12-20 22:56:34 -05:00
Adam
e792865a04
Fix reading unconfirmed expire config value when register type is set to mail
2013-12-20 20:24:40 -05:00
Adam
2b5a1d8c8f
Fix deleting multiple access entries when one of them matches your access group
2013-12-20 19:48:20 -05:00
Adam
7cf21342f4
Merge pull request #33 from Robby-/1.9-nllangupdate
...
Update the dutch language file for new and modified strings, and fix some more typos while we're at it.
2013-12-20 12:18:44 -08:00
Adam
ba8a646a33
Add missing syntax to botserv kicker help
2013-12-20 14:57:06 -05:00
Robby-
fa50252c77
Update the dutch language file for new and modified strings, and fix some more typos while we're at it.
2013-12-20 20:15:30 +01:00
Adam
46bb2de866
Document hs reject's reason
2013-12-20 02:28:35 -05:00
DukePyrolator
c2e9b8080b
Revert "m_chanstats: changed the default value of some fields to NULL instead of ''"
...
This reverts commit 6ff83c3407 .
2013-12-20 07:34:49 +01:00
Adam
c0cd76a0a5
Don't leak opers and opertypes on /os reload, fix not updating opertypes on non conf opers on rehash
2013-12-19 21:34:21 -05:00
Adam
ab6cd3b26c
Fix a few commands not being able to find non conf opers
2013-12-19 20:35:09 -05:00
Adam
275f2fd374
Fix db_old assigning empty greets to users who did not have a greet. Fix debug log message in extensible.cpp
2013-12-19 08:24:21 -05:00
Adam
c4d4107412
Channel::Sync can delete the channel, so safely iterate them when syncing from a server burst
2013-12-19 07:32:46 -05:00
DukePyrolator
ae5da11389
irc2sql: fixed not storing ssl information on inspircd
2013-12-19 07:16:17 +01:00
Adam
e6544a06f4
Update last_modes when keepmodes is set on or off
2013-12-17 11:02:06 -05:00
Adam
1ab7d53649
Set pending mode changes immediately when an object is removed from the mode stacker. And fix mlock creator from cs set persist on.
2013-12-17 10:58:02 -05:00
Adam
d709c819d2
Default build type to release
2013-12-16 12:50:49 -05:00
DukePyrolator
2ad4a8667f
irc2sql: fixed small typo
2013-12-15 16:52:08 +01:00
DukePyrolator
6ff83c3407
m_chanstats: changed the default value of some fields to NULL instead of ''
2013-12-15 16:24:22 +01:00
DukePyrolator
adbc5a0e65
irc2sql: improved handling of netsplits
2013-12-14 09:56:51 +01:00
Adam
f9a4a0fbef
Log all admin commands by default. I was trying to give an example of log settings, but people seem to leave the default and then get confused when it only logs operserv commands
2013-12-13 18:41:01 -05:00
Adam
a282a5c9c4
Fix 96af354ad5 to not burst topics if they are not set
2013-12-10 20:17:29 -05:00
Adam
3ddfa2fc1d
Explain how to setup the locales on Ubuntu
2013-12-10 20:15:34 -05:00
Adam
50f430fb23
Document which modules are extra and how to enable them
2013-12-09 21:18:01 -05:00
DukePyrolator
1b4d62e2bc
irc2sql: fixed incorrect usercount for channels and servers after netsplit, fixed not displaying the channelmodes
2013-12-09 05:57:36 +01:00
Adam
43f608ff2b
Merge pull request #32 from Harak/1.9
...
Updated french installation instructions.
2013-12-03 23:58:57 -08:00
Harak
f0313a45cb
Updated french installation instructions.
2013-12-03 22:09:06 +01:00
Adam
96af354ad5
Send channel topics on initial burst, sync chanels after db load, and try to after unserializing persist on
2013-12-02 02:01:39 -05:00
Adam
b5966cf99e
Fix crash from loading exceptions with db_old and then unloading db_old
2013-12-01 21:16:50 -05:00
Adam
faab2c6793
Fix 5e4d52ad47 more
2013-12-01 18:58:20 -05:00
DukePyrolator
c6f85b9312
made the chanstats fantasy modules work again.
2013-12-01 12:09:34 +01:00
Adam
5e4d52ad47
Fix 1542937d64
2013-12-01 05:00:28 -05:00
Adam
6628e714c7
Require email address to be passed to resetpass
2013-11-30 02:18:20 -05:00
Adam
0f9e931fa6
Revert "Fix session user logoff hook"
...
This reverts commit 3b8f1cd59f .
2013-11-24 22:00:01 -05:00
Adam
1f6385c095
Merge pull request #29 from Robby-/1.9-nllangupdate
...
Update the dutch language file for new and modified strings, and fix some typos while we're at it.
2013-11-24 14:11:52 -08:00
Robby-
be044c9d6e
Update the dutch language file for new and modified strings, and fix some typos while we're at it.
2013-11-24 22:04:27 +01:00
Adam
90aa576fb3
Fix/clean/clarify some stuff found by coverity scan
2013-11-23 22:12:33 -05:00
DukePyrolator
77e5744341
fixed webcpanel not html escaping displayed memos, bug reported by Mietzie
2013-11-22 01:22:24 +01:00
Adam
e1264a5913
Re-find dependant protocol modules on unload, they can be reloaded from under us while we are running
2013-11-21 18:06:38 -05:00
Adam
18f423226c
This actually can't happen, but this is what was meant
2013-11-21 17:38:54 -05:00
Adam
c967a4ce88
Shrink nick and channel default flags in db_old, otherwise converted nicks/channels always end up with the defaults enabled, even if they explicitly have them set off. Fix setting nickserv defaults to none.
2013-11-21 17:31:18 -05:00
Adam
1542937d64
Hybrid has no quit on kill, so internally kill users when killed
2013-11-21 11:34:42 -05:00
Adam
3b8f1cd59f
Fix session user logoff hook
2013-11-21 11:20:10 -05:00
Adam
fbbdedf17e
OnJoinChannel can modify the ts for a channel, so update keep_their_modes in the sjoin handler before processing a user. Otherwise we can desync and think users have a channel status when they really don't.
2013-11-20 18:10:26 -05:00
Adam
b75faefea4
Don't claim to support SAVE on charybdis...
2013-11-19 10:06:22 -05:00
Adam
676db0ba6f
Actually we can use this ssl ext type which apparently does exist
2013-11-18 18:36:37 -05:00
Adam
b2802d0beb
Give a reason why we cant clear nonssl users on ircds with no ssl usermode
2013-11-18 17:18:00 -05:00
Adam
826ae9b6c0
Make /ms check better able to tell if youve recently sent a memo to someone
2013-11-18 17:18:00 -05:00
Adam
2c3e8a76c9
Check override permission in cs_flags for modifying existing entries too
2013-11-18 17:18:00 -05:00
Adam
0bb23f3f4d
Merge pull request #27 from Cronus89/patch-1
...
Update placeholder text for hostmask
2013-11-18 07:53:45 -08:00
Adam
b36498149d
Merge pull request #28 from Robby-/1.9+cslevels
...
cs_access: Fixed disabling channel levels. Also, correctly log /cs levels commands.
2013-11-18 07:53:36 -08:00
Adam
f6cf978d0c
Show the correct setting name in /ns help set message
2013-11-18 10:52:28 -05:00
Adam
aeebaed4b2
Default adding to 1 in mlock add/del, always reply with something even if the input is invalid
2013-11-18 10:49:54 -05:00
Robby-
faabff0261
cs_access: Fixed disabling channel levels. Also, correctly log /cs levels commands as an override or a normal command at the time it is executed, so, right before levels actually get modified.
2013-11-18 07:17:40 +01:00
Adam
cba811bc6b
Default nogroupchange to on, update comment to make sense
2013-11-17 23:35:57 -05:00
Cronus89
dcae3d7bda
Fix placeholder for akill.html
2013-11-17 19:37:19 -06:00
Adam
fc69b68891
Don't default /cs list or /ns list to require oper privs
2013-11-16 16:38:10 -05:00
Adam
15e527fa70
Add missing .founder checks to cs_flags
2013-11-16 15:14:15 -05:00
Adam
3ccf26fda4
Delete notify/client sockets when m_dns is unloaded
2013-11-16 14:55:03 -05:00
Adam
c0b0ee1b39
Make /cs up set modes you have the priv for, but not the auto priv, because Robby says so
2013-11-16 13:33:20 -05:00
Adam
b353e1db79
Also check command names in cs_log when seeing if a newly added entry already exists. Also force command names lowercase when looking them up.
2013-11-16 12:05:20 -05:00
Adam
3edce88698
Fix default level names for access change/list in db_old
2013-11-16 10:39:25 -05:00
Adam
9e1fb11f93
Tell people why they cant disable the founder level instead of claiming it doesn't exist
2013-11-16 10:22:18 -05:00
Adam
316c280a57
Add help for /cs set keepmodes
2013-11-16 10:20:35 -05:00
Adam
cc2a999b4e
Allow founders to change flags even if they don't have any matching access entries on the channel
2013-11-16 10:04:26 -05:00
Adam
51a9f64adb
Use the source's sync state and not mine when processing sjoins to determine whether or not to sync the channel on creation, instead sync it when the server syncs.
2013-11-16 09:38:13 -05:00
Adam
332fd23927
Add general:hideregisteredcommands to hide commands that require you to be identified to use. This changes the behavior of hideprivilegedcommands to only hide commands users don't have the oper privileges to execute.
2013-11-15 15:10:23 -05:00
Adam
1aca2922af
Allow mlocking +r on ratbox/whatever else
2013-11-15 14:24:33 -05:00
Adam
b65fd34a39
Set the default db name to anope.db
2013-11-12 20:12:56 -05:00
Adam
c9f4c2db1f
try/catch cs_access AccessUnserialize just incase, don't crash if ns_ajoin is loaded before the protocol module
2013-11-12 19:19:21 -05:00
Adam
d1248d1249
Merge pull request #25 from Robby-/1.9-nsidfaillogacctnames
...
ns_identify: When logging failures, also show the account name, and that it exists or not.
2013-11-09 05:40:58 -08:00
Adam
afc5c91a09
Do not grant auto privileges to founders if they match other access
...
entries. This allows channel founders to disable auto +qo without
having to globally disable autoop or the levels.
2013-11-09 05:51:38 -05:00
Adam
aa6c3f3474
Show (none) on flags list if a user is on the access list but has no flags
2013-11-09 05:47:14 -05:00
Adam
2a35151d12
Remove db_plain
2013-11-09 05:41:10 -05:00
Adam
fa7cee9759
Don't allow users to remove non-flags access entries that are >= them with /cs flags, also spotted by TGS
2013-11-08 17:47:13 -05:00
Jens Voß
431b2e6768
Merge pull request #26 from Cronus89/patch-1
...
CREATE EVENT chanstats_event_cleanup_weekly failed due to calculating im...
2013-11-04 21:44:08 -08:00
Adam
853e926920
Merge pull request #23 from Phr33d0m/1.9
...
Some fixes here and there
2013-11-04 15:05:10 -08:00
Denis M. (Phr33d0m)
8267407a78
Add a couple of usability and aesthetic changes, fix the half-broken chanlist functionality, add a couple of missing ESCAPED_CHANNEL vars
...
Add missing ESCAPED_CHANNEL
Changed EMAIL_TYPE to FORCE_EMAIL. Now makes more sense
Make it more obvious when the 'email' field is optional
Add a 'Retry' button to go back to the registration page
Fixed broken chanlist functionality. Before even if the user clicked on the channels nothing happened, now it goes straight to the 'set' page (at least something happens)
Small fix, disable the 'Save' button if user has no SET powers
Add another missing ESCAPED_CHANNEL
Add a more clear definition of what hostmasks are allowed in that field, either user@host or nick\!user@host
Fix wrongly placed var
Changed some aesthetics
2013-11-04 23:59:55 +01:00
Cronus89
a831e5d306
CREATE EVENT chanstats_event_cleanup_weekly failed due to calculating improper start of week.
2013-11-03 21:41:01 -06:00
Robby-
b901dfee84
ns_identify: When logging failures, also show the account name, and that it exists or not.
2013-11-04 02:59:16 +01:00
Adam
6e8d2bf09d
Attempt #3
2013-11-01 05:19:48 -04:00
Adam
70e9b20274
Fix release build, not too sure why this is, compiler seems to infer this as a copy of ChanAccess
2013-11-01 05:12:30 -04:00
Adam
4ee9021adb
Compare access entries created with the levels access system by access level and not by privilege set, as two entries can have the same privset but different levels, but still represent two different levels of access. This prevented users from adding other users at a lower access level when that level had the same privset as them. Spotted by TSG.
2013-11-01 04:58:38 -04:00
Adam
c8db362bca
Cleanup some access(group) comparison logic in access.cpp
2013-11-01 04:56:17 -04:00
Adam
c710625cd3
Use Config::GetClient for looking up services for command{} blocks which lessens the insanity of renaming services
2013-11-01 02:07:35 -04:00
Adam
ac2f8bf64d
People often seem to get tripped up by this, so document more clearly
2013-11-01 02:04:21 -04:00
Adam
04e7fa493a
Don't take modes in SetCorrectModes if the user has the ME privilege
2013-11-01 02:04:21 -04:00
Adam
f7692ec77f
Merge pull request #24 from Robby-/1.9+fixes
...
1.9+fixes
2013-10-28 01:37:47 -07:00
Robby-
4a1d32c5fd
Fix logging when identifying with an SSL certificate fingerprint.
2013-10-28 09:30:56 +01:00
Robby-
498da95205
Stop requesting identification when changing nicks to a registered nick, and the current client certificate fingerprint matches one on the nickname's list.
2013-10-28 09:30:20 +01:00
Robby-
710d4848bd
Fix kill and killquick default expiry times.
...
ns_access and ns_cert: Fix accessmax defaults, also state in the config that 0 is not a valid value.
2013-10-28 09:25:17 +01:00
Robby-
bd3bed2118
Fix some typos and touch up the configs a little.
2013-10-28 09:13:53 +01:00
Adam
fe31b0a666
Fix m_httpd not passing non post data to other modules correctly & close connections immediately when we are done flushing data
2013-10-27 20:33:37 -04:00
DukePyrolator
1f97d6d879
fixed a small error that causes irc2sql to not compile
2013-10-27 18:10:15 +01:00
DukePyrolator
4bd5649105
fixed make install not installing the new example config files
2013-10-27 04:53:57 +01:00
DukePyrolator
b5af310f8a
added the irc2sql gateway module
2013-10-26 18:42:58 +02:00
DukePyrolator
2cfc97053f
moved some config options from example.conf to nickserv.example.conf
2013-10-26 18:33:07 +02:00
DukePyrolator
6cde65a57f
new event OnSetDisplayedHost
2013-10-26 18:33:07 +02:00
Adam
7cb35eeedf
Make nickserv's confirmemailchanges option work
2013-10-22 03:44:06 -04:00
Adam
f0318fdbe8
Fix some typos of language
2013-10-19 03:43:04 -04:00
Adam
93a83da771
Fix os_dns not using remove_split_servers and fix remove_split_servers=true readd_connected_servers=false causing delinked servers to remaing in pooled+not active state
2013-10-19 03:42:12 -04:00
Adam
0ff1bb9d5b
Bump for 1.9.10-git
2013-10-14 01:19:42 -04:00
Adam
c0dea5ef30
Anope 1.9.9 Release
2013-10-12 15:28:49 -04:00
Adam
fd4ac7f6fc
Update version.log
2013-10-12 15:28:49 -04:00
Adam
e635f547d6
Update language files
2013-10-12 15:28:48 -04:00
Adam
7167cff703
Update changes and changes.conf sort of
2013-10-12 15:05:42 -04:00
DukePyrolator
b844154857
fixed a typo in the last commit, reported by Robby
2013-10-10 18:12:48 +02:00
DukePyrolator
5e56dfdb1a
replaced the country name in the Language header in the language files by four letter codes
2013-10-10 07:51:35 +02:00
Adam
e1d460e211
Call OnBotPrivmsg after checking if the message is a ctcp, not before. fix typo in opersrev.example.conf
2013-10-09 16:27:16 -04:00
DukePyrolator
9ea6fb25b9
set the Language header in the language files so msgfmt doesnt complain
2013-10-09 22:10:08 +02:00
DukePyrolator
7755668679
updated docs/EVENTS
2013-10-06 22:07:01 +02:00
Adam
569efbb66b
Fix Windows build
2013-10-05 13:29:34 -04:00
Robby-
696801430b
anope.nl_NL.po: Translate newly added string, and fix some spelling/grammar.
2013-10-05 13:22:56 -04:00
Adam
1b08ba8f41
Always show expire time for nicks in /ns info to opers, even if the user is online
...
Make Anope::strftime show "now" if the time is now
Fix typo in nickalias.cpp for the type of the last_seen field, spotted by grawity
2013-10-05 13:21:28 -04:00
Adam
277f735505
Hide expires in /cs info if the channel is actively in use as it confuses people
2013-10-05 01:07:51 -04:00
Robby-
f63a2bdfb4
Big update of the Dutch language file.
...
cs_ban: Merge the syntaxes into one.
2013-10-05 00:49:12 -04:00
Robby-
feb412bdb1
cs_mode: Fix override in /cs mode set.
2013-10-05 00:33:03 -04:00
Robby-
ab856683c7
os_news: Add some logging.
2013-10-05 00:33:03 -04:00
Robby-
97d7c21193
Fix logging for log type 'other'.
...
os_ignore: Log expired ignores to the normal log level.
cs_drop: Allow Services Operators to actually drop channels in Read-Only mode.
os_akill, os_sxline, cs_akick: Log deletions by number.
2013-10-05 00:33:03 -04:00
Adam
e5b8435769
Fix not setting -r when channels are deleted
2013-10-05 00:33:03 -04:00
Adam
e589080827
Fix /ns alist showing a header/column header if the user has no access
2013-10-05 00:33:03 -04:00
Adam
257b10ee91
Hide privileged commands in ns help set and cs help set if configured
2013-10-05 00:33:03 -04:00
Adam
353ee5cc93
Fix xline uid generation when the one chosen already exists
2013-10-05 00:33:03 -04:00
Adam
b094132c9d
Log akill deleteions by number
2013-10-05 00:33:03 -04:00
Robby-
82006b868f
cs_entrymsg: Check for the correct override privilege.
...
Make some more commands check if Read-Only mode is active.
cs_flags: Show a meaningful message when a user is not found on the access list.
os_set: Add missing capabilities to the readonly help output.
OperServ: Add logging to certain commands.
NickServ: Undo logging for listings.
2013-10-05 00:33:03 -04:00
Robby-
ba5a3f5f00
Don't explicitly reference services nicks.
...
os_forbid: If NickServ is available, have it send the forbid reason instead of OperServ.
2013-10-05 00:33:02 -04:00
Adam
7b6c08b53a
Exempt ulines/myself from bounce mode check
2013-09-29 17:22:25 -04:00
Robby-
47b692f9ae
os_session: Add some empty lines to the session help command to improve readability.
2013-09-29 15:42:22 -04:00
Robby-
ed06609ae1
NickServ: Change a few log wordings and add missing log calls to some commands.
...
ns_suspend and cs_suspend: Fix log wording, and correct syntax to show the reason is optional.
2013-09-29 15:42:22 -04:00
Robby-
32a57150ec
ns_access: Allow LIST by Services Operators on suspended nicks. Change wording.
...
ns_ajoin: Fix the number of command parameters. Check for nick suspension. Do not allow just any Services Operator to access other users' AJOIN, require nickserv/ajoin. Change wording.
ns_cert: Add ability for Services Operators to modify other users' certificate lists.
2013-09-29 15:42:22 -04:00
Robby-
2a5e8f1890
cs_akick: Make the default autokick reason translatable.
...
os_forbid: It is required to specify a reason.
2013-09-29 15:42:22 -04:00
Robby-
a04c320b4b
cs_set: Fix showing expiry time in INFO output.
...
cs_sync: Check for the correct override privilege.
2013-09-29 15:42:22 -04:00
Robby-
4221a507cc
Fix NickServ default nick expiry time.
2013-09-29 15:42:22 -04:00
Adam
44dd8d07d9
Add chanserv:always_lower_ts config option to always lower registered
...
channels timestamps to the creation time which fixes some race
conditions regarding users joining empty registered channels and doing
things prior to the -o from services coming through.
Without always_lower_ts attempt to bounce mode changes from bad users,
which will work okay in most cases.
2013-09-29 15:41:32 -04:00
Adam
f7aa69b596
Correct expiretmeout and updatetimeout descriptions in example.conf, it is no longer triggerd by /os update
2013-09-29 13:04:12 -04:00
DukePyrolator
d5ecc39104
display modechars instead of modenames in cpanel channelmodes
2013-09-29 04:23:33 +02:00
Adam
84a02d2709
Remove "Nick" reference from the /os ignore del message, as it can only contain hostmasks
2013-09-27 20:11:51 -04:00
Adam
4b059beb24
Replace this silly random code generation code with something more sane looking
2013-09-27 20:07:07 -04:00
Adam
b319fb089c
Fix compile warnings and errors found by clang
2013-09-27 19:11:02 -04:00
Adam
17196887ad
Allow modifying mlock on nonexistant (but registered) channels
2013-09-27 19:11:02 -04:00
Adam
02d67f682a
Allow /os forbid list <type>
2013-09-27 19:11:02 -04:00
Adam
b306108740
Fix /os ignore del on nicks
2013-09-27 19:11:02 -04:00
Robby-
12a0311aaa
Add missing columns to os_forbid. Make most lists with dates use the shorter output format.
2013-09-27 19:11:02 -04:00
Adam
cf653fc084
Fix ms del all not actually deleting some memos
...
Fix numbering of memos in ms list
2013-09-27 19:11:02 -04:00
Adam
5cc7fc0387
Fix ms list crash
2013-09-27 19:11:02 -04:00
Robby-
832bc35135
Fix a few more modules to look in the right places for certain settings.
2013-09-27 19:11:02 -04:00
Robby-
06c5914820
Fix akillids to work again. os_session: Add missing num to del syntax and add missing expiry column.
2013-09-27 19:11:02 -04:00
Robby-
bf67b9ee5c
Make column titles in listings translatable.
...
Make some more strings translatable, and remove some that don't need translation at all.
Make expirytimes and units translatable.
Make predefined messages in listings also translatable.
Make the remaining command descriptions translatable.
Make some ns/cs info strings equal to dedupe in translation file. Add missing no-autoop setting to cs info output. Make some strings translatable.
2013-09-27 19:11:02 -04:00
Adam
829c169063
Translate strftime correctly
2013-09-27 19:11:02 -04:00
Adam
4948120b69
Translate SendSyntax() and spacify it properly
2013-09-27 19:11:02 -04:00
Adam
994471f5a7
Align info formatters with translated keys?
2013-09-27 19:11:02 -04:00
Adam
80c02740d0
Translate listformatter properly
2013-09-27 19:11:02 -04:00
Adam
df3c0b7b52
Fix various commands to properly report a given expiry time is invalid
2013-09-27 19:11:02 -04:00
Robby-
45702992ac
ns_cert, ns_set: Make strings equal for one translation instance
2013-09-27 19:11:02 -04:00
Robby-
9756f96b85
example.conf: nickserv:emailregistration -> nickserv:registration
2013-09-27 19:11:02 -04:00
Robby-
6ac0364f74
Fix os_stats to display SQLINEs and SNLINEs on non-supporting IRCds
2013-09-27 19:11:02 -04:00
Robby-
4f820a7d41
Fix typos, remove dead language defines.
...
os_set: Add missing debug text in help output.
2013-09-27 19:11:02 -04:00
Adam
5f7127dd92
Don't send regex qlines and nlines to the IRCd
2013-09-27 19:11:01 -04:00
Adam
dcb3ff7d34
Dont send BURST twice on inspircd
...
Drop matching nicks on forbid.
2013-09-27 19:10:49 -04:00
Adam
1107b92699
Drop matching channels on forbid, and enforce nick forbids even on IRCds
...
with no qlines
2013-09-27 18:02:26 -04:00
Adam
3b0b1bc80e
Don't send SQLines unless the IRCd supports it
2013-09-27 18:02:26 -04:00
Adam
b60b23fd48
Only allow using os_oper add and del if you have the privileges for what
...
you are giving or taking.
2013-09-27 17:21:46 -04:00
Robby-
5aac6377c2
Correctly detect override in cs_ban on masks
2013-09-27 17:21:31 -04:00
Adam
20856fb59c
Remove +r etc when channels are deleted
2013-09-27 17:21:20 -04:00
Robby-
7545763cd4
Added missing override capabilities and log calls to some ChanServ commands
2013-09-27 17:21:20 -04:00
Adam
1818b19eba
Fix cs_mode lock reply if nothing is done
...
Fix not clearing forbids when os_forbid is unloaded
Apply nick and chan forbids when added
Fix loading forbids until after the service is constructed
2013-09-27 16:33:56 -04:00
Adam
abc7e4b423
Fix os_news to not load items until the news service is constructed
...
Fix session exceptions not expirigin
2013-09-27 16:33:03 -04:00
Adam
e5ece18ee7
Readonlyize many commands
2013-09-20 21:09:35 -04:00
Adam
8641b995c4
Merge the two memo del events into one. Since they had the same name it was confusing the event system
2013-09-20 15:21:32 -04:00
Adam
b880240d72
Make os_session akill ip ranges and not individual user's ips
2013-09-19 13:35:52 -04:00
Adam
5ce90ba7d1
Fix not updating last_seen on expire nick for nicks with secure off. Don't show Expires in /ns info if the nick is online currently as it confuses people
2013-09-19 12:38:28 -04:00
Adam
98bae827e1
Require confirmation in /cs drop by requesting the channel name twice
2013-09-16 15:54:09 -04:00
Adam
e3c05efe5e
Remove static variables from functions in modules which causes them to be marked as gnu unique objects, which breaks dlclose()/dlopen() on g++ 4.5+
2013-09-16 06:47:42 -04:00
Adam
8cbaf7e990
Update Spanish translation, from Isaac Fontal <i_fontal@hotmail.com>
2013-09-12 07:20:26 -04:00
Adam
339f41aebc
Fix allowing duplicate entries on the snline list
...
Have proto mods recognize cidr ranges as zlineable IPs
Remove operserv/global from global.conf because its dumb
Fix example config ~botserv/set example to work as expected
2013-09-08 21:53:06 -04:00
Adam
55e4ef9d3a
Fix logging /os set list. Enforce snlines on ircds that can't have snlines set by just killing the user. Fix double call to OnMatch() when a user matches an xline
2013-09-08 06:02:35 -04:00
Adam
f63e4ceebe
Alpabetize channels in /ns alist and on webcpanels chanserv page
2013-09-08 04:55:03 -04:00
Adam
b005089f2f
Dont allow multiple list modes with the same param on the mode list at once
2013-09-03 19:58:40 -04:00
Adam
1b42e26642
Cap mode stacker max line length
2013-09-03 19:40:03 -04:00
Adam
4691351167
Cleanup previous commit
...
Fix log messages from commands send through webpanel
Don't show OperServ section to non opers
2013-09-03 18:51:18 -04:00
DukePyrolator
404debf789
updated the chanserv section in webcpanel
2013-09-03 04:37:09 +02:00
DukePyrolator
752a5ca1b7
add vhost support for hybrid
2013-08-31 08:46:56 +02:00
Adam
e1a1cf0e6f
Dont crash on HasPriv() on an empty access group
2013-08-29 23:22:48 -04:00
Adam
3fabc2f831
Fix ns_ajoin on unregisterd +i channels
2013-08-29 23:13:29 -04:00
Adam
59ea36c831
Move Serialize::Types to construct after the corresponding extensible items they require when unserializing
2013-08-27 03:18:43 -04:00
Adam
fac880664c
Make chanserv:require not default to r
2013-08-27 02:56:54 -04:00
Adam
7f890ce98d
Log parameters given to /cs mode set. Add logging to /os ignore.
2013-08-26 02:05:41 -04:00
Adam
50e1a3e96c
Fix status mlocks. Fix reply from lock add.
2013-08-26 02:00:25 -04:00
Adam
6b79349e6c
Fix User::IsIdentified with check_nick, do not remove +r on bursting clients until after server sync
2013-08-25 23:26:45 -04:00
Adam
678f54903d
Fix not resetting channel status modes on our clients when a channel ts lowers
2013-08-25 22:57:26 -04:00
Adam
714a4a3004
Remove unnecesary mlock code in cs_mode, change mode set events to never bounce modes set by bots or servers, as it was possible to get modules to fight with each other
2013-08-25 21:33:52 -04:00
Adam
34826f71c7
Merge pull request #22 from fgsch/misc
...
Better ngIRCd support
2013-08-25 01:49:42 -07:00
Adam
847cceaba3
Create persistent channels on startup, which used to work and got lost somewhere
...
Fix some oddities with using persistent channels with no botserv
Send list modes to uplink when bursting
Fix issues with persist + keepmodes
Fix /os modes clear all not clearing all status modes
Fix operwall on ratbox/plexus
Dont apply mlock in SetCorrectModes since that just recursively calls itself unncessarially
Change command logging to show the command name and not the service name
2013-08-25 04:48:43 -04:00
Adam
09046e3c99
Show what kind of nick protection is enabled in /ns info
2013-08-25 04:48:43 -04:00
Adam
00a19529c3
Add logging to several operserv commands
2013-08-25 04:48:43 -04:00
Adam
446b3a910d
Save unconfirmed status and passcodes in the database.
...
Fix db_sql_live to not reinsert all records if there are extra columns.
Plexus has no chmode +r
2013-08-25 04:48:43 -04:00
Federico G. Schwindt
76f5d4b316
Sort parameters and correct comments
2013-08-25 04:54:35 +01:00
Federico G. Schwindt
9b59925144
For ngIRCd, on nick change set mode -R
2013-08-25 04:54:32 +01:00
Federico G. Schwindt
243d781e99
Add login support for ngIRCd
...
This is implemented via the accountname METADATA command
2013-08-24 17:56:46 +01:00
Jens Voß
8be5f53f1f
Merge pull request #21 from Phr33d0m/1.9
...
Use CDN for the rest of the .js files
2013-08-23 09:59:28 -07:00
Denis M. (Phr33d0m)
cd49bb40c2
Use CDN for the rest of the .js files
2013-08-23 11:57:32 +02:00
Adam
ef3d115bae
Merge branch '1.9' of github.com:anope/anope into 1.9
2013-08-23 04:42:24 -04:00
Adam
9f1178ec58
Remove SSL cert verification because we dont use it
2013-08-23 04:36:02 -04:00
Adam
3bc2db561b
Fix reading post data in m_httpd
2013-08-23 04:13:08 -04:00
Adam
fad603e7a4
Merge pull request #20 from Phr33d0m/1.9
...
Redesign body of the pages.
2013-08-23 00:03:58 -07:00
n0kS Phr33d0m
5f006bf139
Fixed an incorrect layout, a couple of typos and a wrong form action
2013-08-23 08:42:45 +02:00
n0kS Phr33d0m
aaa12cc018
Use a local copy of the background image
2013-08-23 08:11:24 +02:00
n0kS Phr33d0m
2238db8338
Make the navbar brand a different font to distinguish it from the rest of the navbar links.
2013-08-23 08:06:47 +02:00
Adam
4d1492d444
Remove webpanel:ssl configuration option because its dumb
2013-08-23 01:14:00 -04:00
n0kS Phr33d0m
5c4414e4a5
Removed innecessary logo width, the img-responsive will take care of that.
2013-08-23 07:05:57 +02:00
n0kS Phr33d0m
6f9b77e336
Don't use an external svg logo anymore, but a local png one.
2013-08-23 07:04:09 +02:00
Adam
154fa25e8f
Fix m_httpd handling fragmented http requests
2013-08-23 00:57:36 -04:00
n0kS Phr33d0m
9793062007
Merge branch '1.9' of github.com:anope/anope into 1.9
2013-08-23 06:43:57 +02:00
n0kS Phr33d0m
f86dc247e5
Redesign body of the pages. Now they have a distiguished panel heading and panel body. Also added background colour to currently selected section.
2013-08-23 06:39:23 +02:00
Adam
2b1f75a313
Fix m_httpd enabling ssl if m_ssl is loaded after it
2013-08-22 22:45:20 -04:00
Adam
5ac0c9a327
Fix previous commit
2013-08-22 17:33:16 -04:00
Adam
e8763d5b3c
Always set +o on users who have access for it, even if higher modes have a prefix
2013-08-22 01:48:17 -04:00
Adam
ce7a32a994
Do not have cs_access try to represent non levels access entries as levels access entries. Sometimes it cant accurately be done and it confuses people.
2013-08-22 01:13:28 -04:00
Adam
0c1cc08e28
Update readme more
2013-08-21 23:22:27 -04:00
Adam
e12e4e6956
Update readme
2013-08-21 23:20:05 -04:00
Adam
52535cf6fb
Merge pull request #19 from Phr33d0m/1.9
...
A completely rewritten Control Panel
2013-08-21 20:17:20 -07:00
n0kS Phr33d0m
121d0a6e5b
Fix a typo and remove unnecessary 'effects'
2013-08-22 03:27:29 +02:00
n0kS Phr33d0m
34535814e4
A completely rewritten Control Panel using some bootstrapping, jquery and lots of CSS
2013-08-22 02:37:43 +02:00
n0kS Phr33d0m
8bcc6840ce
Nuking the old design with fire
2013-08-22 02:36:01 +02:00
n0kS Phr33d0m
08d113332c
Fix incorrect GET method as we are submitting POST data
2013-08-22 02:32:04 +02:00
Adam
765943062e
Always require the registered channel mode is set. Comment out default config requiring "r" as some ircds use it for registered users only
2013-08-21 01:35:57 -04:00
Adam
17cca42d48
Make maxaliases=0 really mean no limit
2013-08-21 01:27:14 -04:00
Adam
760fdc4049
Fix not setting vhost on nickserv update
2013-08-18 14:42:59 -04:00
Adam
ead4aa7ed9
Fix 318 raw being sent for uids on ts6 ircds
2013-08-17 14:05:01 -04:00
Adam
65911dd1be
Replace some get calls on <bool> extenisble types with hasext
2013-08-14 19:50:08 -04:00
Adam
4abfdcbb9c
Do not default mlock +r, it is unnecessray and only clutters up the mlock list
2013-08-14 18:24:04 -04:00
Adam
de5c8c0d38
Fix some issues with suspend
2013-08-12 15:45:50 -04:00
Adam
8e011bbb78
Respond to remote whois on inspircd for users on us that aren't service bots
2013-08-12 15:44:28 -04:00
Adam
f15a9749f9
Use less strict valid ident checks on hybrid, unreal, and inspircd
2013-08-12 14:36:49 -04:00
Adam
f1956b039d
Remove channels from accesss lists when they expire/drop
2013-08-11 17:14:39 -04:00
Adam
53d5b7c29e
Fix chanserv opersonly setting
2013-08-11 16:04:10 -04:00
Adam
812cb04fde
Add DNS Notify support
2013-08-11 15:48:46 -04:00
Adam
1314d5b4f1
Fix cs_kee_pmodes default
2013-08-11 15:38:09 -04:00
Adam
490601de3a
Fix chghost on charybdis
2013-08-11 12:25:58 -04:00
Adam
c7aab50bff
Support DNS ANY query type
2013-08-10 23:28:58 -04:00
Adam
c507c78d5a
Do not have ratbox or plexus pull modes from hybrid, it is entirely too confusing. Also fix cs_mode config
2013-08-10 17:59:31 -04:00
Adam
58c05687bf
Add "simple seen" mode to cs_seen
2013-08-10 17:43:13 -04:00
Adam
f8cdcc65c6
Merge pull request #18 from fgsch/1.9
...
Add certificate fingerprint support for ngIRCd
2013-08-10 14:26:27 -07:00
Adam
10a918f9e1
Default some listmax config settings to 50
2013-08-10 12:33:27 -04:00
Adam
e4d1769a8b
Add os_info
2013-08-10 12:29:12 -04:00
Adam
7cd80a2131
Fix logging LOG_NORMAL logs in m_sqllog. Fix/add more compat extensible items to ChannelInfo::Unserialize
2013-08-08 03:03:57 +00:00
Federico G. Schwindt
9d6f88de39
Add certificate fingerprint support for ngIRCd
2013-08-07 23:44:58 +01:00
Adam
b93d650b1f
Revert "Shrink to fit module event vectors when modules are removed from them"
...
Sometimes the events call the function the event is in, which causes a resize
while the original function is iterating.
This reverts commit 7f1b5552dc .
2013-08-07 21:19:49 +00:00
Adam
c480695369
Fix db_sql to not remove objects when shutting down, as some modules that unload before it when shutting down remove their items then
2013-08-07 19:40:05 +00:00
Adam
7f1b5552dc
Shrink to fit module event vectors when modules are removed from them
2013-08-07 17:27:18 +00:00
Adam
4865a8cfff
Add m_sql_log
2013-08-07 16:44:35 +00:00
Adam
1efd289488
Fix inspircd jupe mess again, it wasn't working when juping servers that didn't already exist
2013-08-07 15:03:11 +00:00
Adam
83e4b183ea
Add keepmodes setting
2013-08-01 14:07:56 +00:00
Adam
1e625b6837
Use MessageSource as the source for many IRCDProto funcs
...
Keep track of what user modes are oper only/server only/etc
2013-08-01 13:39:35 +00:00
Adam
402c624e45
Move chanstats stuff to stats/
2013-07-29 12:02:40 +00:00
Adam
fde83f6564
Rethink jupe/squit thing somewhat. Workaround for the inspircd rsquit/squit mess
2013-07-26 21:40:16 -04:00
Adam
f0f43cf426
Fix build on late versions of cmake 2.4
2013-07-26 12:57:36 -04:00
Adam
3dc64bac4d
Fix issues with 'Me' related to previous commit
2013-07-26 08:45:44 -04:00
Adam
2450a64bf4
Interally quit servers when juped
2013-07-26 07:38:42 -04:00
Adam
b48293a632
Merge pull request #17 from fgsch/1.9
...
Fix levels on the ngircd module
2013-07-23 10:04:44 -07:00
Federico G. Schwindt
e908dc0dc7
Make ChannelModeStatus level mandatory
...
Levels are used in Channel::SetCorrectModes() when removing modes.
2013-07-23 18:03:32 +01:00
Federico G. Schwindt
378c9203df
Squashed commit of the following from Federico G. Schwindt <fgsch@lodoss.net>:
...
Date: Mon Jul 22 22:40:07 2013 +0100
Correct pasto
Use proper name for included file.
Date: Mon Jul 22 22:30:23 2013 +0100
Indent defaults
Date: Mon Jul 22 22:28:50 2013 +0100
Correct option name
signkicklevel is really signkick_level.
Date: Mon Jul 22 22:25:24 2013 +0100
Ensure some of the options are persisted
Correct type for memo_signon, memo_receive, memo_mail and memo_hardmax so
they're serialized.
Date: Mon Jul 22 22:23:36 2013 +0100
Add missing newline
plus additional suggestions from fgs
2013-07-22 23:45:08 -04:00
Adam
779f3788c9
More validation stuff from fgs
2013-07-21 18:29:35 -04:00
Adam
604da89813
More basic config validation, and fix crash when no uplinks are configured. spotted by fgs
2013-07-21 03:59:59 -04:00
Adam
e11abdc4f0
Fix m_ldap service names from defaulting ldap/ldap/main
2013-07-21 00:37:21 -04:00
Adam
5aac04dffe
Move SendLogin() back to User::Identify, it was moved at some point? but doesn't as intended in ::Login
2013-07-21 00:23:24 -04:00
Adam
7480fbda2b
Fix removing old connections in m_ldap and m_mysql
2013-07-20 23:36:20 -04:00
Adam
9629ccb374
Fix more compile warnings found on newer g++ versions
2013-07-20 19:46:13 -04:00
Adam
cb70d976ba
Change cs_xop access check to use command order
2013-07-20 09:19:52 -04:00
Adam
6db0186947
Fix not setting the correct compile flags on modules and fix the resulting warnings
2013-07-20 03:06:20 -04:00
Adam
492eac20a8
Fix restoring topics on uplink sync
2013-07-20 03:06:20 -04:00
Adam
c8511a625d
Fix unserializaing seeninfos
2013-07-20 03:06:20 -04:00
DukePyrolator
f6b915a169
added whois support to the ngircd protocol module, thanks to fgs for sending the patch
2013-07-19 22:28:33 +02:00
DukePyrolator
02c1724d75
some updates to the german langfile, thanks to kaylee for translating
2013-07-19 22:11:40 +02:00
Adam
7e87bb69fc
Default xlines to be set by me
2013-07-15 23:59:19 -04:00
Adam
aae522d72b
Fix ModeManager::GetStatusChar
2013-07-15 23:23:54 -04:00
Adam
0a821640bb
Fix deleting seeninfos
2013-07-14 20:37:42 -04:00
Adam
37733dea65
Fix Extensible<bool>::Set with a value (which is redundant due to the bool specailization)
2013-07-14 03:16:23 -04:00
Adam
eabb9c0c11
Fix deleting badwords/modes/logs etc
2013-07-08 20:35:04 -04:00
Adam
b103d16eb1
Fix loading some older compat flags and showing noexpire on /ns info
2013-07-08 15:48:37 -04:00
DukePyrolator
e3b6ae3649
added missing NOTICE support to hybrid. sorry
2013-07-08 07:42:35 +02:00
Adam
0ff48e1538
Move op/deop/etc back to an actual command, its too hard to use cs_log with it as rewrites. Allow cs_log to work with either command names or service names.
2013-07-07 23:13:29 -04:00
Adam
53038d83bf
Wipe services's module dir prior to make install
2013-07-07 23:13:16 -04:00
DukePyrolator
2ea594d677
added protocol support for incoming NOTICEs
2013-07-08 05:05:13 +02:00
DukePyrolator
e957c7b2d2
m_dnsbl: updated the url to DroneBL in modules.example.conf
2013-07-08 05:04:04 +02:00
Adam
9a4f27e0a3
Only set stuff in ExtensibleUnserialize if there is something to set
2013-07-05 02:19:06 -04:00
Adam
fccc4a4fa6
Fix sometimes not unloading all modules on shutdown
2013-07-05 02:09:43 -04:00
Adam
4325073524
Fix ns_set_misc and cs_set_misc
2013-07-05 02:09:27 -04:00
Adam
55199f0a4c
Read most of the old common flags for compat
2013-07-04 23:05:30 -04:00
Adam
7edc76f7fb
Fix deleting mode locks
2013-07-04 23:05:30 -04:00
Adam
3fbdde5e18
Fix Extensible dtor
2013-07-04 20:04:51 -04:00
Adam
9f8b4ac382
Allow access and flags to take privilege names
2013-07-04 01:21:14 -04:00
Adam
998925c90a
Fix rehashing via SIGHUP and m_mysql
2013-07-04 01:19:40 -04:00
Adam
7f971043bc
Allow channels on access lists
2013-07-03 22:45:00 -04:00
Adam
c2e1a8a3e2
Fix some warnings and errors reported by valgrind
2013-07-03 19:44:13 -04:00
Adam
c62b3cb275
Fix a few issues found by Attila (invalid array access in channel set events, os_chankill inf loop)
2013-07-02 01:56:13 -04:00
Adam
1a3d9a016d
Change extensible keys to require explicitly having a type defined for it. Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
2013-07-01 22:17:52 -04:00
DukePyrolator
518182ac92
m_mysql: handle multiple result sets returned from multiple statements or procedure calls
2013-06-30 05:28:01 +02:00
DukePyrolator
7d0e063300
added the missing accessmax option to the ns_cert configuration block
2013-06-22 17:06:48 +02:00
DukePyrolator
5e36d848d5
pseudoclients now trigger OnJoinChannel and OnPartChannel
2013-06-22 13:41:05 +02:00
DukePyrolator
fee461f3d0
added support for CertFP on hybrid
2013-06-22 13:40:19 +02:00
Adam
1773eef143
Don't enforce usestrictprivmsg on TS6 IRCds and cache the value of usestrictprivmsg
2013-06-19 20:53:40 -04:00
KindOne
7704ee7107
Removed inspircd 1.1 reference from conf. Corrected a few spelling issues.
2013-06-19 20:07:15 -04:00
Adam
5ac1e9175d
Set vhosts when users id to an account (and not a nick), add account arg to user ctor to ease handling users who connect already identified
2013-06-19 19:03:56 -04:00
DukePyrolator
5695c9e079
fixed a typo in the last commit. sorry.
2013-06-18 08:01:36 +02:00
DukePyrolator
f92b0d6ea0
added support for hybrids new umode +S (client is connected via SSL/TLS)
2013-06-18 07:48:07 +02:00
DukePyrolator
fc527b464a
checking for ssl users when ajoining ssl only channels on inspircd, fixes 1466
2013-06-18 07:35:47 +02:00
Adam
a93b315bd3
Fix cidr::match with odd cidr ranges
2013-06-15 23:27:01 -04:00
DukePyrolator
5246424dc0
added an 'extras' script to enable/disable extra modules before compile
2013-06-15 07:11:50 +02:00
Adam
1316147a8c
Update Spanish translation, courtesy of Isaac Fontal
2013-06-15 00:09:25 +00:00
Adam
70319ab8be
Fix usestrictprivmsg /msg vs / logic
2013-06-13 20:50:59 -04:00
Adam
7dd358972a
Fix possible crash in Extensible::ExtensibleUnserialize if a null entry is in it
2013-06-12 02:33:30 +00:00
Adam
d463ae3b1e
Allow users to change their language to english when the default language is not
2013-06-12 02:30:21 +00:00
lethality
ebda113f44
Made the message for unconfirmed nicks relevant to the ns_register registration setting
2013-06-06 17:28:59 +01:00
lethality
6ab6eca0a6
fixed typo, though I doubt it affects anyone/anything
2013-06-05 20:56:16 +01:00
Adam
b1ba1ec8ac
Made sepstream::GetToken less recursiveish
2013-06-01 21:58:08 -04:00
Adam
9956da18e3
Move OnJoinChannel event to trigger after the user has completely joined and document it more about what you should and shouldnt do in it
2013-06-01 21:56:52 -04:00
Adam
b56e71ab14
Move CheckKick event to Channel and make os_forbid use it instead of kicking users in the join event, which does bad things
2013-06-01 14:55:45 -04:00
Adam
6f45d72497
Made m_mysql's Escape() function safe against escaping strings > BUFSIZE
2013-05-31 18:34:21 -04:00
Adam
f5c01bf617
Fix /hs waiting
2013-05-31 01:44:32 -04:00
Adam
06bad31b18
Fix Channel::SetCorrectModes to never remove modes <= voice (currently secureops enforces everything, inclurding voice)
2013-05-28 22:17:22 -04:00
Adam
576aaff3da
Don't compare system time to a users timestamp to determine when to collide with a user, if the time on services vs the ircd are different it does weird things
2013-05-28 21:07:07 -04:00
Adam
c5bc8fab32
Include <iterator> in services.h as now more than one file uses it
2013-05-28 13:51:23 -04:00
Adam
f6e2ebe145
Fixup last commit. We have events in log's destructor so we cant log messages from it, and this check in modulemanager is bogus/has a typo
2013-05-28 13:43:45 -04:00
Adam
37b3535543
Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module
2013-05-27 19:36:37 -04:00
Adam
c21e8d9204
Fix webcpanel build
2013-05-26 19:34:58 -04:00
Adam
22658d63bd
Get rid of the remaining references in the core to specific services. Move more stuff out of the core to the proper modules.
2013-05-26 17:13:11 -04:00
Adam
f2dee1e1d6
Update INSTALL and place some example link configurations in example.conf
2013-05-26 15:27:28 -04:00
Michael Wobst
968ef349d6
Update Hybrid protocol module for Hybrid 8.1
2013-05-25 15:47:56 -04:00
Adam
d6640ed5ee
Give an error message when the configuration file ends with an unterminated block
2013-05-25 14:08:50 -04:00
Adam
aabc217a6b
Fix /join 0
2013-05-20 23:45:41 -04:00
DukePyrolator
d82391e46d
made our database backup filenames more readable
2013-05-20 06:42:38 +02:00
Adam
7aa02864d2
Mark service:channels as a "botchannel" and don't try to hold them on sync, as the client should always be in the channel
2013-05-19 01:11:55 -04:00
Adam
2a8202c832
Give botserv bots assigned by persist the same botmodes as normal bots, fix some typos, remove unused variable
2013-05-18 23:45:10 -04:00
Adam
be4a39ceb6
Fix desync when empty permanent channels are dropped on ircds that no have permanent channel mode
2013-05-18 15:47:26 -04:00
Adam
a3dc75c61c
Ignore define{} blocks defining directives to itself
2013-05-18 14:46:42 -04:00
Adam
14dc142a92
Add botserv bot usermode config option
2013-05-18 14:26:18 -04:00
Adam
51b7d53108
Add a config option for the default log bot
2013-05-18 13:08:26 -04:00
Adam
3253455792
Tabify some stuff in config.cpp
2013-05-18 12:25:26 -04:00
Adam
879b310580
Fix Windows build
2013-05-18 00:27:03 -04:00
Adam
5ff3aa7209
Yet another variable shadowing error which only show on newer gcc versions
2013-05-17 23:45:02 -04:00
Adam
ca93122a68
You would think my compiler would at least warn me about this. but no.
2013-05-17 23:20:24 -04:00
Adam
2428264315
Add Redis database support
2013-05-17 23:04:18 -04:00
Adam
cc4a14b0ba
Removed some hard coded command names in help output
2013-05-17 22:53:55 -04:00
DukePyrolator
934b584374
do not validate nicks from ulined servers. this also fixes bug #1521
2013-05-15 03:23:20 +02:00
DukePyrolator
4237d49d41
improved handling of mlocks and topiclocks on inspircd
2013-05-12 11:09:34 +02:00
Charles Kingsley
1c36de5ab1
Fix config to default prepend_channel true for fantasy
2013-05-11 17:13:01 +01:00
Charles Kingsley
da948be089
Update botserv.example.conf for xop fantasy commands
2013-05-11 17:06:16 +01:00
Adam
9384a4f088
Fix ChannelMode::CanSet
2013-05-10 16:17:24 -04:00
Charles Kingsley
4d62c673fa
Fix typo in example.conf - thx rodr1go
2013-05-10 20:18:48 +01:00
Adam
7426b3b04a
Readd check for users.size() == 1 before holding channels
2013-05-08 20:53:28 -04:00
Adam
735e234c2c
Fixed some issues and desyncs with creating empty permanent channels on startup & dropping empty channels
2013-05-08 20:26:45 -04:00
Adam
735f0ba6cf
Fix crash when we kill users because of a double free
2013-05-08 18:26:23 -04:00
Adam
9ee7c825e1
Check for peace being on before denying a mode change in cs_mode
2013-05-08 18:15:39 -04:00
Adam
912103ec13
Allow using sxlines on ircds that do not support them, since we always enforce them anyway
2013-05-08 11:31:20 -04:00
Adam
f843e7bd90
Fix suspend info output in info and improved it
2013-05-08 11:13:48 -04:00
Adam
d7e2ab688b
Add activate_on_set option for hostserv
2013-05-08 10:40:46 -04:00
Adam
5e7085130e
Fix reading multi line quotes from the conf with blank lines or lines with only whitespace
2013-05-08 10:12:31 -04:00
Adam
9b07e163c0
Make sockaddrs/cidr not throw on invalid ips to give us an easier/cheaper way to test for a valid IP
2013-05-08 09:50:43 -04:00
Adam
6859decfb8
Fix setting some default flags, reading fantasy blocks, and minusers setting being off by 1
2013-05-07 00:24:37 -04:00
Adam
e23baf4297
Allow /os exception to contain CIDR masks
2013-05-07 00:06:02 -04:00
Adam
c7f77b3b66
Fix a few issues with the poll socketengine
2013-05-06 23:48:18 -04:00
Adam
6578829fa6
Use I_OnUserQuit for os_session because I_OnPreUserLogoff gets called too late, after the users server can be gone. Fix a couple other small things
2013-05-06 22:18:38 -04:00
Adam
ef06226521
Update the rest of modules.example.conf, default inspircd status modes to a sane rank incase they are prefixless, and 50 other things
2013-05-06 07:40:43 -04:00
Adam
4c669b947f
Merge pull request #14 from attilamolnar/1.9+inspmodes
...
InspIRCd: Recognize a few more channel modes that weren't recognized
2013-05-05 22:49:29 -07:00
Adam
3fbb493d57
Fix extras build
2013-05-06 01:38:27 -04:00
DukePyrolator
223aa65cfa
removed an unused variable
2013-05-06 07:28:23 +02:00
Adam
fe54dfb37f
Don't forget to CloseHandle threads on win32, spotted by Attila
2013-05-05 23:47:45 -04:00
Adam
3f5f84c92c
The const char* specialization of this no longer works
2013-05-05 21:18:47 -04:00
Adam
5b3f81ea78
That doesn't work either, just don't use references.
...
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05 21:05:43 -04:00
Adam
3e8752fe66
The default arguments are references to temporaries which fall out of scope once the function returns, so we can't use them. gcc is just nice. cronus sucks. also validate a few more config options
2013-05-05 20:38:57 -04:00
Adam
57c2b65f08
Move module header files to include/modules to fix naming conflicts with system headers
2013-05-05 03:30:08 -04:00
Adam
a118946e65
Fix Windows
2013-05-05 03:04:01 -04:00
Adam
ee2dcf11b8
Cache timeoutcheck and fix a typo in example.conf
2013-05-05 02:49:32 -04:00
Adam
e91de41278
Add an option to sepstream to allow it to return empty tokens if multiple separators are found in a row
2013-05-05 02:00:33 -04:00
Adam
10b5b00db4
Dont check for noquit/quitstorm, check and be sure all users are gone regardless
2013-05-05 01:58:45 -04:00
Adam
2044b4d3ad
Cleanup of dns stuff based on stuff found making inspircd's module
2013-05-05 01:57:24 -04:00
Adam
1d0bb9b26b
Rework the config file reader to be much more flexible and move many configuration directives to the actual modules they are used in.
2013-05-05 01:55:04 -04:00
Adam
781defb707
Move extras header files out of extras so when users copy modules out they dont need the headers too
2013-04-16 01:58:29 -05:00
Adam
16c124d34e
Rewrote modules/CMakeLists.txt and do not build the 'extras' modules, if users want them built they should copy or symlink them out of extras
2013-04-15 01:00:45 -05:00
Adam
f08dbced60
Allow assigning service bots via /invite
2013-04-14 17:39:01 -05:00
Adam
baabc91ead
Fix a few of the earlier changes to os_forbid
2013-04-13 16:36:39 -05:00
Adam
81483ae5e7
Fix build on Solaris
2013-04-13 06:05:17 +00:00
Adam
003140bf60
Fix Windows build
2013-04-12 16:20:51 -05:00
Adam
b405484fb9
Fix OSX buld and a warning in modulemanager.cpp
2013-04-12 17:19:29 -04:00
Adam
9a45626379
Hack around calculate_depends not able to find libintl.h, since we deal with that later
2013-04-12 15:45:52 -05:00
Adam
10d10d057e
Update Win32 build instructions slightly
2013-04-12 15:44:54 -05:00
Adam
aa2844a3fc
Fix not attaching cs_xop to I_OnReload
2013-04-12 02:48:24 -05:00
Adam
42c640a9b5
/ns drop help was pretty much a complete lie, so fixed it. Also require a nick param to /ns drop
2013-04-12 01:32:53 -05:00
Adam
066fc5801b
Fix m_ssl
2013-04-12 01:14:56 -05:00
Adam
416eaa1e66
Explain how privileges associate themselves with modes
2013-04-11 15:58:59 -05:00
Adam
ac19a5c24b
Fix memoserv/rsend reply
2013-04-11 15:35:39 -05:00
Adam
6f9dd282d2
Use SetCorrectModes to set the inital modes on a founder once they register a channel
2013-04-11 15:28:53 -05:00
Adam
c56d72ba84
Remove more OPDEOP references
2013-04-11 02:28:36 -05:00
Adam
db4ed1cfaf
Merge chanserv saset and set back into one command since it no longer needs to be separated... replace chanserv/set privilege with chanserv/administration. Dont tell users to use 'help' for more help if there is no help.
2013-04-11 00:51:08 -05:00
Adam
cb64d806c1
Remove the need for having to set syntax to "" for commands with no syntax
2013-04-11 00:20:24 -05:00
Adam
4f9b7874d6
Pass new config and the new config reader to the OnReload event, aswell as call it on module load on modules that hook to it
2013-04-11 00:08:28 -05:00
Adam
207c46c871
Move some of the modules in extras/ that arent really extra out of extras. Mark our modules as VENDOR and allow modules to have multple types.
2013-04-10 22:26:40 -05:00
Adam
957cb2bf93
Use the mode names inspircd gives us to add modes if we don't recognize it
2013-04-09 16:27:25 -05:00
Adam
b244c74479
Allow privilege descs to be read from the config to override the defaults
2013-04-09 14:51:39 -05:00
Adam
b76b2e11c8
Made privilege names case insensitive
2013-04-09 14:48:24 -05:00
Adam
b35665bb54
Rename OPDEOP and OPDEOPME privileges to be similar to the other status privileges
2013-04-09 14:33:54 -05:00
Adam
c3eb5b885d
And my bots initially start with no server..
2013-04-09 04:23:29 -05:00
Adam
6faf4e3823
'Me' can not exist when channels are created
2013-04-09 04:13:49 -05:00
Adam
325b018ed0
Add a default method for user's SendModeInternal
2013-04-09 00:00:52 -05:00
Adam
0a3d27a91f
Made XOP privileges configurable
2013-04-08 23:37:42 -05:00
Adam
bcd85ca682
Fix OperType::GetCommands
2013-04-08 01:05:25 -05:00
Adam
ac40c53fe4
Fix /ns set display
2013-04-08 01:02:45 -05:00
Adam
2eae82da5c
Check the channel secure option isn't set in ChannelInfo::AccessFor too
2013-04-08 01:01:27 -05:00
Adam
72493b7305
Fix secureops
2013-04-08 00:42:07 -05:00
Adam
1a37e1c048
Made auto* chanserv privileges not hard coded.
...
Made cs_statusupdate not remove status on users if they still match other entries.
Move privilege descriptions out of the config
2013-04-08 00:19:07 -05:00
Adam
fb7fef7a84
Optimizations of much of the more commonly used code
2013-04-07 23:46:44 -05:00
Adam
36602224b8
Remove the runtime module directory on non-windows because we no longer overwrite modules on install without deleting them first
2013-04-06 19:34:35 -05:00
Adam
ccecfdf445
Made the missing dependencies message from cmake more descriptive for modules
2013-04-06 19:03:07 -05:00
Adam
32d1184c00
Use the return from BufferedSocket::ProcessRead() and don't just assume its true
2013-04-06 17:08:25 -05:00
Adam
6a46a08a85
This worked before but is a little weird
2013-04-06 16:58:04 -05:00
Adam
7a2e6aa5c2
Add more logging to bs_set, cs_set, and ns_set
2013-04-06 16:43:56 -05:00
attilamolnar
34b5f9ce6e
InspIRCd: Recognize a few more channel modes that weren't recognized
2013-04-06 23:10:26 +02:00
Adam
f77eb0a282
Let non founders still /cs ban by wildcard mask, but limit the number of people it will kick
2013-04-06 15:59:38 -05:00
Adam
302a409136
Unset +P from perm channels when expiring
2013-04-06 15:44:03 -05:00
Adam
0b3b9fe128
Fix toggling topiclock when the channel setting is changed
2013-04-06 15:26:52 -05:00
Adam
f71c7865fc
Fix generic mode support
2013-04-06 15:06:39 -05:00
Adam
4ecf20b3f5
Fix ns_lists command group
2013-04-05 16:59:27 -05:00
Adam
a5b8788014
Made the securefounder checks in cs_set more consistent
2013-04-05 16:27:12 -05:00
Adam
3cc7950c4b
Fix not constructing the /bs set greet command
2013-04-05 15:45:03 -05:00
Adam
854bc4db0c
Move around some of Init() to fork() before initing the socket engine, as some engines cant survive a fork()
2013-04-04 22:12:48 -05:00
Adam
dbc77279bf
Fix applying some sxlines to users on add
2013-04-04 18:52:35 -05:00
Adam
c4ef566a65
Fix /hs reject syntax
2013-04-04 18:45:45 -05:00
Adam
66376335ab
Fix defcon taking action on new clients
2013-04-04 15:14:17 -05:00
DukePyrolator
823bc01f66
mentioned the charybdis protocol support in the readme and example config
2013-04-02 07:02:38 +02:00
DukePyrolator
947ad6f73a
fixed using language files for third party modules
2013-04-01 10:26:19 +02:00
DukePyrolator
06c8a1ef50
Revert "added include/version.h to .gitignore"
...
This reverts commit b3fd861b3e .
2013-04-01 09:46:55 +02:00
DukePyrolator
b3fd861b3e
added include/version.h to .gitignore
2013-04-01 09:42:59 +02:00
Adam
62262f4b0d
Fix typo in Mode message handler
2013-03-31 00:43:11 -05:00
Adam
6e0dc0e210
Add networkinfo:modelistsize config option to set the max size of b/e/I lists
2013-03-31 00:43:11 -05:00
Adam
7e7556f064
Merge usefulness of Timer and CallBack classes into Timer, and fix it to really work
2013-03-30 23:39:43 -05:00
Adam
111d6a9178
Fix loading ttb from databases
2013-03-30 22:40:20 -05:00
Adam
d23817604c
Add /bs set banexpire command to configure if/when botserv bans expire
2013-03-30 22:08:51 -05:00
Adam
4694c7afb4
Split up bs_kick subcommands into real subcommands
2013-03-30 19:08:07 -05:00
Adam
a52293336f
This reference to see if nickcores go away during command execution is no longer necessary
2013-03-29 23:51:45 -05:00
Adam
f24e17f8b4
Fix /bs set private
2013-03-29 23:50:51 -05:00
Adam
2b208de02f
Fix detecting module langauge files
2013-03-29 23:50:51 -05:00
DukePyrolator
4eb5d153c0
uuups, we already have the year 2013
2013-03-30 05:42:17 +01:00
DukePyrolator
0451dd3d0d
added charybdis protocol support
2013-03-30 05:21:54 +01:00
Adam
c3e4f1bf7e
Fix build from earlier merge
2013-03-22 18:41:23 -05:00
Adam
f122f104c4
Merge remote branch 'attila/1.9+timermanager' into 1.9
2013-03-22 11:52:42 -05:00
Adam
deedb3bdd7
Dont call SetCloakedHost in users constructor, just set chost, because SetCloakedHost logs a message like the user just changed their host
2013-03-22 11:46:30 -05:00
Adam
d27aa03500
Merge branch '1.9' of github.com:anope/anope into 1.9
2013-03-21 23:40:16 -05:00
Adam
dcffa5da6f
Properly cleanup after entrymsglists and ajoinlists when destructed
2013-03-21 23:39:39 -05:00
Adam
221e79f50d
Check for null pointers in HasMLock/SetMLock/RemoveMLock, cs_register can pass it some sometimes/possibly other places
2013-03-21 23:33:40 -05:00
attilamolnar
d5a453b663
Improve TimerManager
...
Instead of adding timers into a vector and sorting them every time a timer is added, use a multimap
2013-03-20 19:42:50 +01:00
Adam
a2d69fa431
Merge pull request #13 from attilamolnar/1.9+inspversionfix
...
InspIRCd: Don't reply to VERSION
2013-03-20 09:45:40 -07:00
Adam
6a0e4418f4
Check that channels still exist before nulling their ci pointer in channelinfos destructor
...
Change the persist setting on a channel to mean only that it is being
enforced ircd-side
2013-03-20 11:39:16 -05:00
attilamolnar
68eeac67c9
InspIRCd: Don't reply to VERSION
...
InspIRCd sends all known version strings at burst and remembers the version strings sent to it. When a client does a /version <server> the cached version string is sent.
2013-03-19 19:16:13 +01:00
Adam
731912f01e
Add db_sql:import config option so we can know for sure whether or not we want a database import
2013-03-18 12:16:51 -05:00
Adam
51963915ba
Remove remaining disable_ns_register references in example config
2013-03-16 21:53:03 -05:00
Adam
810685cb73
Have db_flatfile store object ids if they are set, even though it doesn't use them, so that if other database modules that use them are loaded they can keep track of objects properly
2013-03-16 20:08:39 -05:00
Adam
1a0e6b0be3
Allow autokicking real names, extbans, and channels
2013-03-15 12:27:08 -05:00
Adam
81c89bb708
Fix missing dependencies message to include the source folder, there is no specific source file on modules with multiple source files
2013-03-15 07:43:17 -05:00
Adam
01620e849a
Update nickserv defult names for kill/killquick, hide email, usermask, and quit
2013-03-14 20:51:28 -05:00
Adam
4c74020a69
Add group and hide setings to fantasy{} blocks
2013-03-14 09:03:48 -05:00
Adam
b95b8f0aae
Fix setting BSDefFlags from the config
2013-03-14 09:03:48 -05:00
Adam
1ff7a7c1f1
Refactor mask/entry code, allow full matching (against users real host/ip) if their displayed host is their real real host. Also match against cloaked host even if full matching is not being done
2013-03-13 14:40:49 -05:00
Adam
1d16629a6d
Allow opers to override chanserv kick/ban, botserv say/act, and akick's peace setting
2013-03-13 09:45:15 -05:00
Adam
72aa27ede5
Allow m_ldap_authentication to block email changes if emails are controlled by ldap, don't tell users they must change their email during initial user registration
2013-03-13 09:02:31 -05:00
Adam
05223dbe6d
Identify requests hold command sources and users can disconnect between the request being dispatched and when it returns, so don't assume the source user pointer is always valid
2013-03-10 03:23:00 -05:00
DukePyrolator
06d43baf93
update the users password after a successful ldap authentication
2013-03-03 10:58:39 +01:00
DukePyrolator
5f74662100
improved the operserv mode command
2013-03-03 10:57:53 +01:00
Adam
2c68312d72
Bump for Anope 1.9.9-git
2013-03-03 02:04:33 -05:00
Adam
ce094f4d01
Anope 1.9.8 Release
2013-03-02 23:42:01 -05:00
Adam
178056096f
Regenerate language files
2013-03-02 23:42:00 -05:00
Adam
a32c897bf9
Update Changes and Changes.conf
2013-03-02 23:42:00 -05:00
Adam
367b662c83
Fix compile warning in webcpanel/memos
2013-03-02 23:42:00 -05:00
Adam
75999e05b9
Fix Anope::Duration showing years failing
2013-03-02 23:42:00 -05:00
Adam
45c02f8e4e
Fix build with -std=c++11
2013-03-02 23:42:00 -05:00
Adam
ae4421b8a2
Unset founder/successors when channels are deleted
2013-03-02 23:42:00 -05:00
Adam
2d309da0f6
Fix /ns drop nick showing "your nick" and not the nick you specified if the nick isn't registered
2013-03-02 18:52:15 -05:00
Adam
b9bbb3747b
Fixed logic fail in /ns resend
2013-03-02 18:46:56 -05:00
Adam
0b05eaa020
Only shrink extensible items that are metadata in ExtensibleUnserialize
2013-03-01 01:40:14 -05:00
Adam
91ad9d22ca
Fix Windows build
2013-03-01 00:57:24 -05:00
Adam
6aa9ad938a
Don't have cs_seen update data for users on syncing servers
2013-03-01 00:56:47 -05:00
Adam
6808498ead
Fix entrymsg's creation time being reset from restarts
2013-02-28 23:09:03 -05:00
Adam
8561941e22
Don't enforce session limit on clients with no IP on Unreal, fix typo in /cs down syntax, fix os_session messages to reference ip
2013-02-25 00:26:49 -05:00
Adam
5d4db2b854
Allow /cs up and /cs down to take an optional nick arg
2013-02-24 20:15:49 -05:00
Adam
501503b7a5
On startup check all object types
2013-02-24 20:14:15 -05:00
DukePyrolator
a980e32581
fixed wrong parameter count in cs_updown
2013-02-24 21:07:10 +01:00
DukePyrolator
da2fea338a
fixed some stupid typos in the german language file
2013-02-24 09:48:20 +01:00
DukePyrolator
7cb70f5fa1
some updates to the german langfile
2013-02-24 08:14:13 +01:00
Adam
d04db3d38b
Add SVSNICK and SVSHOLD to hybrid
2013-02-23 17:41:52 -05:00
DukePyrolator
35c260877f
Revert "do not send RESV from operserv when its not introduced"
...
This reverts commit 2336b4723c .
2013-02-23 11:20:31 +01:00
Adam
8cf7ec9cfe
Add missing SVSHold funcs to plexus protocol module
2013-02-23 04:32:41 -05:00
Adam
c67087d750
Fix akick list/view not showing masks sometimes
2013-02-23 04:32:41 -05:00
DukePyrolator
2336b4723c
do not send RESV from operserv when its not introduced
2013-02-23 09:54:03 +01:00
Adam
da61734860
Made FindService less dumb and able to do aliases to aliases
2013-02-22 04:42:08 -05:00
Adam
a911354f24
Fix "leave" channel log level
2013-02-22 00:39:13 -05:00
Adam
ae902443db
Merge branch '1.9' of github.com:anope/anope into 1.9
2013-02-22 00:30:22 -05:00
Adam
5547c3ed24
This OnServerSync event hook in inspircd20 can go away (it does nothing currently)
2013-02-22 00:29:00 -05:00
Charles Kingsley
e844cdf4f6
Update COPYING
2013-02-21 07:38:42 +00:00
Adam
2fa5cfa508
Add Matthew to webpanel credits, fix alignment of akill list
2013-02-20 18:00:46 -05:00
Adam
59792173e7
Merge pull request #12 from MatthewM/webcpanel
...
Web Panel Modifications
2013-02-20 14:58:59 -08:00
Adam
ed68482b4e
Add /cs mode clear command that behaves like the old /cs clear modes/bans/etc
2013-02-20 15:51:40 -05:00
Adam
32592987c8
Allow /os mode clear [all] to unset modes, similar to old clearmodes
2013-02-19 04:07:53 -05:00
Adam
a1f92638e3
Merge branch '1.9' of github.com:anope/anope into 1.9
2013-02-19 01:28:27 -05:00
Adam
7d50818ee1
Fix some OpenBSD build issues, and bugs #1485 #1486 #1487
2013-02-19 00:48:21 -05:00
DukePyrolator
d0e1f3b66a
fixed a typo in the last SASL commit
2013-02-19 05:21:01 +01:00
Adam
cb91f991a3
Made the mode bouncing detector harder to hit and ignore syncing channels
2013-02-18 22:10:57 -05:00
Jens Voß
a49d7b12cb
Merge pull request #11 from grawity/mailmap
...
Add mailmap for Git
2013-02-17 05:31:04 -08:00
Mantas Mikulėnas
eda7b55bac
Add mailmap for Git
...
...to clean up `git shortlog -nes` (and `git log` in future git
versions).
2013-02-17 15:19:11 +02:00
DukePyrolator
bcf99d5998
SASL sends AUTHFAIL on unsupported mechanisms, fixes bug #1482
2013-02-17 12:26:51 +01:00
Adam
3ab6706993
InsIRCd only sends QUIT on KILL for users 1 hop from us, so always internally kill users that we kill. Bug #1481
2013-02-16 03:59:28 -05:00
Adam
c40e9c3996
Fix missing CheckInit check in db_sql_live
2013-02-16 00:31:42 -05:00
Adam
7be23b7e37
Fix setting modes on botserv bots in channels that have other bots in them on startup
2013-02-15 23:18:34 -05:00
Adam
d9c18a6072
Store hashes of the last commit instead of the last commit
2013-02-15 19:01:46 -05:00
Adam
73099b82e8
Fixed unserializing servers in dns zones
2013-02-15 18:32:06 -05:00
Adam
fc1d7ea89b
Switch Destroy methods to delete
2013-02-14 20:58:01 -05:00
Adam
391f2822c8
This Serialize::Destroy method isn't actually needed anymore. Fixes weirdness from a few Serializable items we had on the stack. Added a comment about why operator< in Reference fails.
2013-02-14 20:57:40 -05:00
Adam
f0875c5d85
Iterators suck
2013-02-14 20:11:52 -05:00
Adam
f6ef706909
Magiobiwan is silly
2013-02-14 01:24:29 -05:00
Adam
7656c25e38
Made chanserv/unban with no parameters unban you in every channel you have access in
2013-02-14 01:20:18 -05:00
Adam
5cf1edeb6e
Fix CommandCSMode::CanSet letting everyone set voice
2013-02-14 01:20:18 -05:00
Adam
9e544a6443
Store what channels have references to accounts in NickCore to prevent having to iterate over all channels and then all access entries when nicks expire or from nickserv/alist
2013-02-14 01:20:18 -05:00
Adam
225b7c38c1
Make NickCore::aliases a vector
2013-02-14 01:20:18 -05:00
Adam
994866461c
Update obj ts when constructed in db_sql
2013-02-14 01:20:18 -05:00
Adam
fc4b884d0e
Sort output in ns_list and cs_list
2013-02-10 12:31:37 -05:00
Adam
9b3ecfe777
Fixed sepstream::GetToken logic fail
2013-02-09 22:48:05 -05:00
Adam
20794981b3
(re?)add mlock set as a simple way to clear all mlocks and add new ones at once
2013-02-09 00:24:15 -05:00
Adam
01413dd3cc
Use channel mode +r to determine if a channel has either been newly created or
...
created while we were offline (eg, during the inital burst to the
uplink). Fixes not knowing whether or not channels ops in non-secureop
non-persistent channels obtained op while we were offline by creating
the channel or legitimately by being set op by another channel op.
2013-02-07 21:49:49 -05:00
Adam
9d1fe6102c
Made DNSServer::Find case insensitive
2013-02-07 21:49:49 -05:00
Adam
2472a41561
Merge pull request #9 from Robby-/1.9-ns_set_misc
...
Fixed ns_set_misc not showing help for its SASET commands
2013-02-05 08:04:45 -08:00
Robby-
65fbdcfa87
Fixed ns_set_misc not showing help for its SASET commands.
...
Added descriptions and SASETs for the remaining commented ns_set_misc examples, without a description they won't show up in HELP if someone actually enabled those.
2013-02-05 16:31:14 +01:00
Adam
25cec015e8
Made access del by nick and other functions from 326f1a really delete objects
2013-02-05 09:45:48 -05:00
Adam
62e3c8c4f8
Merge pull request #7 from artemiiav/patch-2
...
Fix validating nickserv:registration when it is set to disable.
2013-02-02 10:53:05 -08:00
Adam
8902c1f038
Merge pull request #8 from Robby-/1.9
...
Some more typo and help text fixes, missing privileges, settings corrections, and cs_enforce changes
2013-02-02 10:51:08 -08:00
Robby-
6c43bcc3e0
cs_enforce: Make the logging also show the channel it was used on, added 2 missing log calls, can now handle overrides by services operators.
2013-02-02 07:32:32 +01:00
Robby-
15b37c1e38
Some more typo and help text fixes, proper formatting of control codes, missing privileges, and settings corrections.
2013-02-02 07:30:53 +01:00
MatthewM
29fcdc5f40
Updated jquery API to v1.9.0
2013-01-31 21:24:48 -05:00
artemiiav
1075bb1dbc
Update src/config.cpp
2013-01-31 22:33:14 +03:00
Jens Voß
dccb0ee313
Merge pull request #5 from Robby-/1.9
...
Config file updates: text changes, ...
2013-01-30 22:50:11 -08:00
Robby-
aea86906f4
Some configuration file updates: Removed now non-existing settings. Redid some existing settings to look more consistent/uniform. Added some missing commands/permissions.
...
Merged operserv/modlist permission into operserv/modinfo.
Fixed ChanServ INFO privilege to actually work for /BotServ INFO too for those users who have it, instead of only for founders.
Fixed some typos aswell as removed whitespaces along the way.
2013-01-31 06:19:14 +01:00
Adam
a62698a14a
Remove sendpass from the configs and the config reader since it no longer exists
2013-01-30 17:44:07 -05:00
Adam
47af43c281
Made Anope::Duration also show years
2013-01-30 11:24:57 -05:00
Adam
ae2c82adbc
Don't expire session exceptions if in noexpire mode
2013-01-30 10:39:52 -05:00
Adam
594b1a136d
Evidently Persistant is not a word
2013-01-30 10:39:52 -05:00
DukePyrolator
ae46cc7f73
fixed an infinite loop in ns_recover, caused by a very small typo.
2013-01-30 09:18:56 +01:00
Adam
6b2aad734e
Fixed SQL::Data::IsEqual to really only return if the two are completely equal. Fixes oddities with caching objects that are actually updated.
2013-01-27 13:55:42 -05:00
Adam
98ccbe2b06
Old botserv flags need BS_ prepended to them
2013-01-27 10:50:55 -05:00
Adam
5ae100fea2
Add nickserv/alist priv, merge botserv/botlist and botserev/assign/private to botserv/administration
2013-01-27 05:00:00 -05:00
Adam
0052dd29a7
Fix db_flatfile not clearing databases on save if there are no objects left of that type (it will leave the old database with old objects currently)
2013-01-27 01:59:38 -05:00
Adam
50a42d2cbf
Fix os_session to work with sql properly
2013-01-26 22:17:25 -05:00
Adam
49cb6a07a2
Fixed db_sql etc being confused on empty vs not set metadata
2013-01-26 20:52:49 -05:00
Adam
ed7c4dc2e1
Made Anope::DoTime default to seconds to fix os_akill etc defaulting expiries to days
2013-01-25 04:05:38 -05:00
Adam
c376fb0a2b
I forgot to add this change to a634c7be65
2013-01-25 03:31:35 -05:00
Adam
76d9e58ae5
mysql_insert_id doesn't return an id if one isnt generated, so
...
check that it really returns a value before using it.
Also fix memos to cleanup after themselves when deleted.
2013-01-25 03:09:51 -05:00
Adam
3769cc1a35
Fix memo signon and memo receive default flag names
2013-01-24 08:53:35 -05:00
CuleX
74ace7d4b9
Channel::HasUserStatus: Don't just return false if cms is NULL.
2013-01-24 00:34:41 -05:00
Adam
647245a71f
Add missing KeySet() func to SQL::Data
2013-01-23 22:16:01 -05:00
Adam
a634c7be65
Fix some compile errors
2013-01-22 21:20:05 -05:00
Adam
f656e3195f
Add hidenetsplitquit config option to not show splits in /ns info's last quit field
2013-01-22 19:47:16 -05:00
lethality
8811545472
Fixed few minor typos
2013-01-22 17:32:23 +00:00
Adam
cad3850f3d
Move channel mode set and unset events to be after the action has been done internally to allow easially canceling it
2013-01-22 01:23:55 -05:00
Adam
7de058ba35
Fix crash trying to unset the permanent channel mode during channel syncs of empty channels
2013-01-22 00:24:58 -05:00
Adam
ddaa001daf
Merge usefulness of Flags and Extensible classes into Extensible, made most flags we have juse strings instead of defines/enums
2013-01-21 22:31:16 -05:00
Adam
51c049e1a7
Really fix Channel::GetModes
2013-01-21 18:03:31 -05:00
Adam
93472f84bd
Revert "Fix Channel::GetModes, we can never have a negative mode set on a channel so this check is unnecessary"
...
This reverts commit 678d27fdb7 .
2013-01-21 17:59:22 -05:00
Adam
678d27fdb7
Fix Channel::GetModes, we can never have a negative mode set on a channel so this check is unnecessary
2013-01-21 17:55:27 -05:00
Adam
369ca89c2e
Allow channels that have users in them that are not the access list to expire while in use.
2013-01-21 06:46:28 -05:00
Adam
421db75528
Fix not logging debug info to the logfile when debug mode is enabled
2013-01-21 06:38:13 -05:00
Adam
846b56c724
Fix defcon timeout timer
2013-01-21 02:31:28 -05:00
DukePyrolator
e62d2fe56e
removed old cs_modes fantasy{} command blocks
2013-01-21 07:15:16 +01:00
DukePyrolator
bb3abab784
removed loading of ns_set_chanstats and cs_set_chanstats from the chanstats.example.conf, this functionality is now part of ns_set/cs_set
2013-01-20 15:03:15 +01:00
Adam
da6543d17b
Allow grouping commands to make help output easier to comprehend
2013-01-13 22:07:27 -05:00
Adam
29a018088e
Add svsjoin and svspart commands
2013-01-13 22:07:27 -05:00
Adam
7e7fc757d5
Allow ns_set_misc/cs_set_misc to have configurable help descriptions
2013-01-13 22:07:27 -05:00
Adam
d3a6bdc68b
Allow the config parser to skip over gettext's _() to allow translating config values
2013-01-13 22:07:27 -05:00
DukePyrolator
402e42fd15
check if the database exists before we try to backup it
2013-01-12 09:01:44 +01:00
Adam
5007b72b28
Update copyright to 2013. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2013-01-09 04:20:55 -05:00
Adam
9931ec2994
Use m_rewrite to rewrite op, deop, halfop, ... etc
2013-01-08 20:25:01 -05:00
Adam
5f3dfc2960
Track +g on inspircd, fix saving/loading mode locks for generic modes
2013-01-07 21:30:07 -05:00
Adam
dc9e81a6fc
Fix deleting access by number
2013-01-06 18:38:04 -05:00
Adam
ed719c80e7
Buggy compilers are buggy
2013-01-06 16:13:35 -05:00
Adam
77dc2e4746
And really check for them using ssl...
2013-01-06 01:46:53 -05:00
Adam
c5f4c8d174
Fixed enforce ssl to not ban users if the channel is ssl only
2013-01-06 01:19:25 -05:00
Adam
6ba49642d0
Fix fmode handling on inspircd20
2013-01-06 00:48:50 -05:00
Adam
9a2ef9dc00
Add sslonly, bans, and limit to /cs enforce
2013-01-05 22:42:07 -05:00
Adam
6ccf0a3428
Fixed os_dns not readding connected servers if configured
2013-01-03 13:39:50 -05:00
Adam
23e303aaa2
Move enforcer checks on nick and logout to nickserv.cpp
2013-01-03 13:20:10 -05:00
Adam
098157dca8
Don't delete users immediately when quit or killed, instead wait until message processing is done
2013-01-03 12:34:01 -05:00
Adam
827469600e
Move nickserv validate stuff to an event in nickserv.cpp
2013-01-02 13:59:33 -05:00
Adam
bf718e8698
Evidently not specifying NOT NULL is not enough to allow null timestamps
2012-12-30 10:30:29 -05:00
Adam
326f1a9c8b
Cleanup after mode locks, badwords, akick, access, if destructed
2012-12-29 20:29:41 -05:00
Adam
793c438286
Remove clearuser references from configs
2012-12-29 11:09:54 -05:00
Adam
6b1f323bb5
Move some of CheckKick to the respective modules
2012-12-28 15:59:33 -05:00
Adam
761849083d
Dumb iterators
2012-12-28 13:00:36 -05:00
Adam
ae6ddf295a
fixup part of 379b2c, dont use iterators after theyre erased
2012-12-28 11:17:01 -05:00
Adam
b591e8cdc8
Use the same object for chanusercontainer and userchancontainer
2012-12-28 10:43:30 -05:00
Adam
379b2ccf92
The timestamp column in SQL should actually be null sometimes, and fixed some valgrind errors with db_sql_live
2012-12-28 10:43:30 -05:00
Adam
3fb4cf56b6
Merge pull request #4 from alexbarton/ngircd-fix-NJOIN
...
ngircd protocol module: Fix NJOIN, actually join users to the channel
2012-12-27 13:25:33 -08:00
Alexander Barton
fdc62daa8b
ngircd protocol module: Fix NJOIN, actually join users to the channel
...
Bug introduced by commit d33a0f75 : "Pretty large coding style cleanup,
in source doc cleanup, and allow protocol mods to depend on each other":
Since then, the NJOIN command has been "ignored", no users were added
to channels at all while linking ...
2012-12-27 22:15:33 +01:00
Adam
05094b0da5
When processing many modes don't enforce mlock until all are set
2012-12-27 15:03:38 -05:00
Adam
4ab8a70b21
Add an expiry option to /cs ban
2012-12-27 11:06:00 -05:00
Adam
c88a3fffd5
Remove clearusers. There is still kick * for this.
2012-12-27 09:50:44 -05:00
Adam
7b1ae9602d
Put appendtopic and topiclock into /cs topic
2012-12-27 09:43:19 -05:00
Adam
c7a22dff87
Add register type to os_forbid to prevent users from registering nicks or channels
2012-12-26 19:42:37 -05:00
Naram Qashat
45ee7c12d0
Clean up the logic in adding extra library directories, adding to LDFLAGS isn't needed.
2012-12-25 17:10:43 -05:00
Adam
392b591d09
Allow modules loaded after startup to magically reobtain their database objects. Fix os_dns for sql(live)
2012-12-25 15:52:58 -05:00
Adam
556a4375e2
Cleanup after os_dns on unload
2012-12-25 12:40:09 -05:00
Adam
eab583310d
Don't check userlimit when servers first connect, servers wont have any users at that point anyway
2012-12-25 12:36:58 -05:00
Naram Qashat
077ae27369
Fix linking libraries so their rpath is set correctly and isn't stripped on install.
2012-12-25 02:20:00 -05:00
Adam
d4e1c958e2
packet->answers isnt always empty initially, like with axfrs
2012-12-25 01:09:03 -05:00
Adam
33ae442aa1
We can svsjoin on plexus
2012-12-24 18:15:38 -05:00
Adam
1285c7f0ca
Allow os_dns to manage multiple zones
2012-12-23 15:30:08 -05:00
MatthewM
8c72892de1
Made the overlay resize and the alert box reposition when the window is resized
2012-12-23 14:56:02 -05:00
Adam
dc751bd2f1
Combine all of the set modules now that having them split apart is almost completely pointless
2012-12-22 14:49:48 -05:00
Adam
0cde0aee34
Fixed memo mail messages, and allow %N to be in them. Bug #1462
2012-12-22 09:10:32 -05:00
MatthewM
503bda5b28
Move the var to set the time out into the same javascript tag that is used for the modal as it's related
2012-12-20 23:48:20 -05:00
MatthewM
a4d5c40d63
Added the overlay to the vHost request function
2012-12-20 16:22:58 -05:00
MatthewM
8e219bdd77
Moved the javascript to header.html from memos.html to make it easier to intergrate the overlay feedback and do tweaks
2012-12-20 16:12:16 -05:00
MatthewM
5acc93dd34
Made the table cells for the memo table have no spacing and color the read and unread memos different colors
2012-12-20 01:19:04 -05:00
Adam
276247b463
Add a command flag to require that a user is executing the command
2012-12-19 16:03:53 -05:00
MatthewM
d277f49423
Minor style tweaks to make the links look more like a button
2012-12-19 13:17:44 -05:00
Adam
67bd2c6b2d
Add version flags for debug, git, and Windows
2012-12-19 09:21:25 -05:00
Adam
784683a68d
Having these references to bots bugged out older compilers, so simplify this by just moving pointers to the core
2012-12-19 08:48:23 -05:00
Adam
3b2094301d
Fixed typo in b6407afa06
2012-12-18 10:35:11 -05:00
MatthewM
6572754c10
Cleaned up the overlay layout, added some minor visual and js fixes
2012-12-18 10:34:33 -05:00
MatthewM
f157ea3fdb
Added a click reply function to the MemoServ memos page that autofills the senders name
2012-12-18 10:04:26 -05:00
MatthewM
ddd7fe6f05
Bug that was experinced seems to be somewhat related to Windows 8 and maybe an extension on chrome. Reverting to previous commit
2012-12-17 22:03:21 -05:00
MatthewM
47a351acb2
Fixed a minor bug that overlapped the nav links and the content from .content in Chrome on Windows
2012-12-17 19:26:07 -05:00
MatthewM
ff9f670871
Give the overlay window a rounded edge to make it look a bit nicer and fade the main content a little less
2012-12-17 18:28:15 -05:00
MatthewM
f33f7d98c4
Added a modal window interface to MemoServs page that will automaticly fade out after a give time (currently 5s)
2012-12-17 14:32:28 -05:00
Adam
c49f03f985
Allow escaping brackets in webpanel templates and redirect users to the homepage when their session is not found
2012-12-15 23:51:25 -05:00
MatthewM
6b5f583ff3
Merge Adams commit to allow escaping of brackets
2012-12-15 21:46:14 -05:00
Adam
8e3ab0d10b
Made all langauges default to the UTF-8 charset
2012-12-15 21:35:38 -05:00
MatthewM
a049092526
Merge branch '1.9' into webcpanel
2012-12-15 21:05:05 -05:00
Adam
b6407afa06
Fix chghost/chgident/etc on inspircd20
2012-12-15 05:13:09 -05:00
Adam
fbd3cda320
Merge pull request #2 from czaks/conv-languages-to-utf-8/1.9
...
Convert locales to utf-8 charset
2012-12-15 01:15:03 -08:00
Marcin Łabanowski
05341828b5
Convert the language files to utf-8 encoding.
...
The files have been converted using the following script:
for i in *.po; do
cat $i | grep charset | cut -d= -f2 | cut -d\\ -f1 > charset
echo Converting $i from `cat charset` to UTF-8
iconv -f `cat charset` -t UTF-8 < $i | sed "s/`cat charset`/UTF-8/g" > $i~
mv -f $i~ $i
rm -f charset
done
2012-12-15 09:39:12 +01:00
Marcin Łabanowski
280ba89b26
Fix the language files to state the correct charset.
2012-12-15 09:28:19 +01:00
Adam
fe7fcc2dc3
Check for NOJOIN being < 0 but restricted on in db_old
2012-12-15 02:44:53 -05:00
Adam
dcd34d3728
Move DNS handling to a module
2012-12-15 01:33:31 -05:00
MatthewM
dced01fc24
Added a large scroll box for the chanserv main page
2012-12-15 01:14:52 -05:00
Adam
cdec0a3f96
Fixed some html errors in the last commit
2012-12-14 16:47:45 -05:00
MatthewM
1075f3b457
Allow opers to drop channels
...
Added chanserv drop to web panel
Allow long lists of akills to scroll
2012-12-14 16:44:14 -05:00
Adam
c1077faa28
Optimize much of the database code and serialize code.
2012-12-13 06:12:56 -05:00
Adam
76ba147c22
Unregister operserv_akill page on unload in cpanel
2012-12-12 02:28:19 -05:00
Adam
1c1a216df1
Only allow non-user sources to register nonexistant channels
2012-12-12 01:33:58 -05:00
Adam
04f96a54b8
Some small improvements to last few commits, and fixed some problems with the template engine
2012-12-12 01:30:50 -05:00
Adam
5f72d1fda5
Squashed commit of the following:
...
commit 317ead6b39
Author: MatthewM <mcm@they-got.us >
Date: Tue Dec 11 02:14:06 2012 -0500
Added the HostServ link to the navigation bar
commit 6b15d7fc5e
Author: MatthewM <mcm@they-got.us >
Date: Tue Dec 11 01:58:18 2012 -0500
Correct some slight over sights that was missed eariler
commit b356a46789
Author: MatthewM <mcm@they-got.us >
Date: Mon Dec 10 23:44:51 2012 -0500
Started work on adding HostServ to the web panel
2012-12-12 01:04:08 -05:00
Adam
dfff54425b
Fixed webpanel fail on nondebug builds
2012-12-12 00:49:16 -05:00
DukePyrolator
0edd26467e
IsNickValid() now accepts '[' and ']' in the nickname
2012-12-11 05:27:56 +01:00
DukePyrolator
e71c890cf5
added a missing permission for operserv/global to the Services Administrator block in example.conf
2012-12-09 14:32:16 +01:00
DukePyrolator
eada35df36
fixed a problem with the webcpanel logout when using apache + mod_proxy
2012-12-09 14:21:42 +01:00
DukePyrolator
8d4a08ccc1
fixed a log message showing the wrong IP
2012-12-09 14:19:30 +01:00
Naram Qashat
9dec093676
Modified the Config scripts to ask the user explicitly for additional include and library directories.
2012-12-07 03:02:15 -05:00
DukePyrolator
f711dd3460
ngircd protocol module: improved vhost support
2012-12-05 06:18:36 +01:00
Adam
7a865b6b28
Only bad-password users when the account theyre trying to identify for actually exists
2012-12-02 04:31:50 -05:00
DukePyrolator
faaaae365a
enc_sha256: the length of the digest is SHA256_DIGEST_SIZE, not SHA256_BLOCK_SIZE. also removed an unneeded trailing NULL byte.
2012-12-02 09:16:40 +01:00
Adam
705d1efeab
Allow services to return more than one NS record
2012-11-30 20:49:59 -05:00
Adam
c0f60d56a1
Change /os reload to not unnecessarially rebuild httpd servers. Change m_httpds Log methods to the module version.
2012-11-30 20:44:21 -05:00
Adam
a4468dd56e
Allow modules to use the encryption modules to encrypt arbitrary things.
...
Made enc_old depend on enc_md5.
Allow not loading any encryption modules if you want to only use an
external mechanism.
Removed ns_sendpass since it's just a bad idea.
2012-11-30 02:53:03 -05:00
Adam
337f361526
Fix warnings from classes with virtual functions not having virtual destructors
2012-11-29 17:03:53 -05:00
Adam
26a048e5c4
Rewrite/simplify some of m_httpd
2012-11-28 22:54:26 -05:00
Adam
ccd41e7efe
Use signon for svid on bahamut, not timestamp
2012-11-28 00:42:07 -05:00
Adam
a1a5ba0723
Use signon for svid on unreal, not timestamp
2012-11-27 21:43:17 -05:00
Adam
8a6962fc36
Keep track on what ircds we can svsjoin, add an svspart method
2012-11-26 23:09:26 -05:00
Adam
f23bad140b
Revert a small part of 90930619bc, evidently this was important
2012-11-26 19:50:29 -05:00
Adam
1bfafd9eb6
Fixed rehasing doing weird things to botmodes due to trying to set on nick not uid
2012-11-26 04:30:30 -05:00
Adam
1bdb756b25
Restrict the length of kick reasons in cs_kick, cs_ban, and cs_akick
2012-11-25 22:37:54 -05:00
Adam
80c573eed7
Merge remote branch 'cronus/1.9+unrealtokens' into 1.9
2012-11-25 21:47:10 -05:00
Cronus
78607ea60c
Remove UnrealIRCd's TOKENS, they are kinda useless
2012-11-25 20:35:45 -06:00
Adam
0110214abc
Fix build the last arg on fantasy commands to chanserv
2012-11-25 20:58:35 -05:00
Adam
54d8695e70
Add commented command{} blocks for how 1.8 worked, don't show saset in the help list to registered users.
2012-11-25 20:36:57 -05:00
Adam
a2441fd326
Rename restoreonghost in nickserv.conf
2012-11-25 19:47:09 -05:00
Adam
831a1d15d5
Merge ns_ghost, ns_recover, and ns_release. Fix svskilling users on Unreal.
2012-11-25 19:41:36 -05:00
DukePyrolator
6b5df8e62f
added a config block for cs_seen in chanserv.example.conf
2012-11-25 05:44:31 +01:00
Adam
0210cf2b17
Make the actual clients into services too
2012-11-24 21:22:32 -05:00
Adam
f0708340ef
Fix parsing fjoin on inspircd
2012-11-24 19:10:07 -05:00
Adam
a44bf31d27
Helps to name ping right
2012-11-24 17:19:08 -05:00
Adam
002f00d7eb
Add IP.Board m_sql_authentication query to modules.example.conf, from Genesis2001
2012-11-24 02:15:19 -05:00
Adam
ded89b0d49
Made IRCDProto a Service
2012-11-23 23:10:41 -05:00
Adam
36b1166cf6
Change the return type of ircdmessage to void now that we don't use it, add an ircd message module event, and a few more fixups
2012-11-23 16:56:06 -05:00
Adam
0e7bd9f3ba
Fix compile/pch generation
2012-11-22 20:27:42 -05:00
DukePyrolator
7963534940
fixed some compile errors
2012-11-22 21:44:51 +01:00
Adam
d33a0f75a5
Pretty large coding style cleanup, in source doc
...
cleanup, and allow protocol mods to depend on each
other
2012-11-22 00:50:33 -05:00
DukePyrolator
368d469631
added METADATA and vhost support to the ngircd protocol module
2012-11-18 10:34:35 +01:00
DukePyrolator
efd3c04f37
fixed a typo in IRCDMessageSetName in the unreal protocol module
2012-11-18 09:50:23 +01:00
Adam
5fe6f0b2ec
This should be find, not find_first_of
2012-11-16 00:06:07 -05:00
Adam
5d6fb2427e
Fixed some stuff spotted by Cronus, made db_old convert ACCESS_INVALID levels to ACCESS_FOUNDER, fix cs_enforce +R from an earlier commit, fixed ChangeModeInternal TS checking when IRCds don't send TS on mode
2012-11-16 00:03:15 -05:00
Adam
ad3d1d381a
Never log debug levels >= 2 using a log block
2012-11-10 13:57:06 -05:00
Adam
b51f60cc1e
Fix user account logout message
2012-11-10 13:57:06 -05:00
DukePyrolator
504232b388
added support for the ngircd SQUERY command
2012-11-10 18:29:35 +01:00
Adam
8f36f65f39
Made access del and xop del behave like access add/xop add by using a users mask if given an unregistered nick
2012-11-09 19:20:17 -05:00
Adam
ff3e396e92
Add a config option to disable sasl
2012-11-09 19:13:33 -05:00
Adam
2fe387b4f0
Update bi->lastmsg in cs_log when something is logged via privmsg
2012-11-07 23:23:02 -05:00
Adam
9ec482b7c2
I haven't a clue why this was here but its not even remotely right.. fixes #1448
2012-11-07 22:20:48 -05:00
Adam
53e8cd18dc
Duplicate check some of these larger hashmaps on insert, just incase
2012-11-07 21:57:31 -05:00
Adam
ac57f41c87
We no longer have to use the rungroup provided at build time, it is specified in the config now
2012-11-07 19:36:59 -05:00
Adam
8b78b6bb10
Fix crash on suspend etc if kicking a user causes the service bot to part when the service bot is next in the userlist (as we have an iterator to it)
2012-11-07 15:41:49 -05:00
Adam
52fa66820c
Give suspend the correct permission in botserv.conf, fix pch build
2012-11-07 15:17:58 -05:00
Adam
72eb2ccf50
Sometimes capab is sent as one parameter
2012-11-06 11:02:12 -05:00
Adam
4cfd468863
Made os_noop more useful
2012-11-06 11:02:12 -05:00
Adam
0cf8d73395
Added log messages for all of the other chanserv commands that should be logged
2012-11-06 11:02:12 -05:00
Adam
53b2bdfe5e
Use std::tr1::unordered_map for a few of the larger maps
2012-11-06 11:02:12 -05:00
Adam
27ab6a686c
Windows fixes
2012-11-06 11:02:12 -05:00
lethality
22c8297a03
Added chanserv/status to fantasy commands
2012-11-06 15:19:56 +00:00
Adam
d22e86376b
Catch the exception from /os session view invalidip
2012-11-05 15:59:11 -05:00
Adam
fb56b3a53f
Made m_xmlrpc use m_httpd
2012-11-03 22:04:19 -04:00
DukePyrolator
0c47017046
added support for SVSNICK in the ngircd protocol module
2012-11-03 09:40:01 +01:00
DukePyrolator
792091b23c
cs_seen: do not read duplicate SeenInfo entries from the database
2012-11-02 18:35:33 +01:00
Adam
b917361de8
Fix pch generation
2012-11-01 16:26:59 -04:00
Adam
a0a54fdfe0
Expand options:hideprivilegedcommands to not show commands requiring authentication to unidentified users
2012-11-01 16:15:44 -04:00
Adam
d90d5d538b
Fixed operserv/umode serv help entry
2012-11-01 14:54:14 -04:00
Adam
c2ae76248e
Made db_old load exceptions.db
2012-11-01 14:47:23 -04:00
Adam
9aa71af1e5
Accept 1.8s svid ts on plexus too
2012-11-01 14:47:23 -04:00
Adam
b64abebd24
Made os_logsearch search oldest logs first so the newest entries are at the bottom of the list
2012-11-01 14:47:23 -04:00
Adam
90930619bc
Fixed quite a bit of dumbness with m_ssl. Had to
...
modify socketengines to allow polling for write &
no read, but is it cleaner now. Made m_httpd able
to listen using SSL.
2012-11-01 14:47:23 -04:00
DukePyrolator
5b1c823019
fixed importing mode locks in db_old
2012-11-01 05:28:57 +01:00
Adam
b2b4f21e39
Clarify the path given to Config isnt actually the bin path, but the path Anope is installed to
2012-10-31 23:11:06 -04:00
Adam
22e55165c9
Fixed anopesmtp logging
2012-10-31 22:57:11 -04:00
Adam
35c2256849
Apparently sending this all at once didn't work that great, so wait for the events before sending the joins/modes etc
2012-10-31 17:37:19 -04:00
Adam
3a10fca75f
Fix ns_ghost and ns_recover, add nicksev:restoreonghost
2012-10-31 12:37:43 -04:00
Adam
a39947cd3c
Made os_forbid honor nssecureadmins
2012-10-30 22:07:15 -04:00
Adam
1730bfb2bc
Send uids everywhere when setting modes on clients
2012-10-30 21:22:10 -04:00
Adam
26a4a13cdf
Made os_mode a bit smarter
2012-10-30 20:40:42 -04:00
Adam
36f357c354
Fixed build errors and warnings with -std=c++11
2012-10-30 17:10:31 -04:00
Adam
b07928eea9
Clean up ngircd proto mod slightly, and send sqlines before introducing clients
2012-10-30 15:50:39 -04:00
Adam
1ef7480380
Fix inspircd mode message for channel modes. It never actually uses this, but other pseudoservers may send modes using this and not fmode (it has no timestamp)
2012-10-30 15:21:47 -04:00
Adam
e4c2dcc0c7
Made db_old load up most of the old mode locks
2012-10-29 21:51:34 -04:00
Adam
7bdad857e4
Only show mode lock in /cs info if there really is a mode lock
2012-10-29 21:28:43 -04:00
Adam
c2a8ad26af
Fix formatting fail in cs_status
2012-10-29 17:47:26 -04:00
Adam
fedf235c83
Update Config.cs for VS 2012 and fix it failing if the source directory path has spaces in it
2012-10-29 17:07:10 -04:00
Naram Qashat
e88d2c2031
Make it so CMake doesn't complain if packing on a system using Visual Studio Express.
2012-10-29 16:40:19 -04:00
Adam
20e4685057
Readd cs_status
2012-10-29 14:54:49 -04:00
Naram Qashat
ca55e15d44
Fix building under Mac OS X via Makefiles if not using an Xcode project. This is a hack but CMake currently provides no other way to determine if the detected C++ compiler was identified as Clang.
2012-10-29 14:06:42 -04:00
Adam
bb5e4127d7
Made MailThread completely threadsafe, currently theres a race condition with config reload + sending mail at once
2012-10-29 13:51:38 -04:00
Adam
30028a2404
This include is unncessary
2012-10-29 13:46:21 -04:00
Adam
6883309927
Made anopesmtp less hard to debug
2012-10-29 13:46:21 -04:00
DukePyrolator
9c8570ac68
readded ngircd protocol support
2012-10-29 04:17:24 +01:00
Naram Qashat
4dfc0f952f
Fix cmake generation due to this if not being updated.
2012-10-27 12:09:07 -04:00
Adam
d6e1b92059
Add a module log type
2012-10-27 08:12:04 -04:00
Adam
bb5f4555dc
Ues timestamp for dns serial not yyyymmddnn.. there are too many problems with this (restarts, >99 zone updates/day, etc)
2012-10-27 05:34:36 -04:00
Adam
32d33ca8e5
Expand single digit serial revisions to match nn
2012-10-27 04:44:10 -04:00
Adam
e1dcf24c98
Add nickserv:modesonid config option to set what modes users get on identify
2012-10-26 17:30:41 -04:00
Adam
3b24311db6
Sometimes zone transfers can be really big
2012-10-26 12:57:25 -04:00
Adam
8fd3fc7c13
Add sasl support to unreal, inspircd
2012-10-26 10:46:19 -04:00
Adam
8d27b25bf8
Don't attempt to process any query packets if we aren't explicitly given permission to bind to a port (we do anyway currently for m_dnsbl to get replies)
2012-10-26 00:55:04 -04:00
Adam
727b35536f
This code isn't used
2012-10-25 23:44:34 -04:00
Adam
bbe667dc74
Fixed two memory leaks in cs_seen
2012-10-25 22:29:10 -04:00
Naram Qashat
3608d42ae9
This version needs a better tag than "-git", so there.
2012-10-25 22:26:59 -04:00
Adam
8f33933dd8
Default xlines to be set by OperServ
2012-10-25 21:31:58 -04:00
Adam
e5efe42ecb
Fixed showing users from the right server on unreal/bahamut
2012-10-25 04:30:22 -04:00
Adam
10e21bfeda
Fix handling clients on unreal that have no ip (it sends a *)
2012-10-25 01:30:41 -04:00
Adam
00256fdba8
Made access provider modules permanent. They don't cleanup their access entries currently and if they did it would delete them.
2012-10-24 23:30:21 -04:00
Adam
3b8fb7bb88
When db_sql_live gets new objects immediately update cache on them to prevent rewriting later if they aren't changed
2012-10-24 22:48:12 -04:00
Adam
1057fa8421
BIND's forward ability did not work as I expected
...
because it will not forward non recursive queries.
So, added support for SOA, NS, and AXFR requests.
2012-10-24 19:32:26 -04:00
attilamolnar
fca9ec085e
InspIRCd: Add handler for FIDENT to 2.0 protocol, so we know when someone changes ident on the network
2012-10-24 07:40:16 -04:00
DukePyrolator
ef5c6684c7
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
2012-10-24 05:12:47 +02:00
DukePyrolator
e0438e3a7e
fixed calculating the correct channelcount for an user when loading the db. fixes bug #1450
2012-10-24 05:12:13 +02:00
Adam
04632bd381
Cleanup of last few commits/warning fix
2012-10-22 17:02:01 -04:00
Adam
0b9db15efc
Add os_dns, a way to control your DNS zone via services
2012-10-22 00:54:30 -04:00
DukePyrolator
d5b2f9cfa7
Base has to destruct before Extensible does because objects that destruct due to Extensible destructing don't have their references to the already destroyed object for Base invalidated. (fixed for NickAlias and NickCore)
2012-10-21 18:29:10 +02:00
Adam
727c3d5b75
Base has to destruct before Extensible does because objects that destruct due to Extensible destructing don't have their references to the already destroyed object for Base invalidated
2012-10-18 20:06:02 -04:00
Adam
eddb7684c1
Fixed protoctl parsing on Unreal + fix SendLogout now the usage has changed
2012-10-17 20:22:44 -04:00
Adam
484baba6ad
Actually show the correct number of entries on /os logsearch output
2012-10-15 03:54:26 -04:00
DukePyrolator
88f10a2c3c
Updated the hybrid protocol module, patch provided by Michael
...
- Change mode handler to use UIDs within SVSMODE messages
- The IP can be 0 in UID messages depending whether or not a client is spoofed
- Removed SendGlobopsInternal handler. Anope is using GLOBOPS by default
- Set user's services timestamp/account to 0 instead of 1 on /ns logout, otherwise the UID message handler will
2012-10-14 20:13:41 +02:00
Adam
ffa1c976f5
Use account name for svid on hybrid
2012-10-14 01:50:14 -04:00
Adam
4fdc157f68
Better clarify signon vs timestamp and allow updating users timestamp to an ircd given value from NICK
2012-10-14 01:05:24 -04:00
Adam
0a950669cb
Add a hybrid 8 protocol module courtesy of Michael <michael@wobst.at>
2012-10-13 23:49:15 -04:00
Adam
1232018332
Allow services operators to modify/view other users autojoin lists
2012-10-13 06:21:53 -04:00
Adam
6237613439
And update modules.example.conf
2012-10-13 00:40:44 -04:00
Adam
4424abd15d
Add m_sql_oper
2012-10-13 00:37:10 -04:00
Adam
76a0471c29
Simplify the db_sql_live code since this isn't actually necessary. Fixes a problem internally ovwrwriting data on objects that we have modified and are queued because of assigning something to a serialize_obj reference
2012-10-13 00:37:10 -04:00
DukePyrolator
e08422a4ea
fixed MODE handling in the ratbox protocol module
2012-10-12 22:47:35 +02:00
Adam
757ff06011
Fix m_ldap to reconnect automatically if the ldap server goes away
2012-10-10 23:08:00 -04:00
Adam
06defe014b
Merge remote branch 'attila/1.9+topiclockmsg' into 1.9
2012-10-09 19:34:24 -04:00
Adam
63bf134321
Merge remote branch 'attila/1.9+msgfix' into 1.9
2012-10-09 19:34:11 -04:00
Adam
2113494274
Send privmsgs and notices to uids if applicable
2012-10-09 19:33:24 -04:00
attilamolnar
912f068fe4
Fix wrong error message when --dbdir has no argument
2012-10-09 23:31:20 +02:00
Adam
8f5d786f0e
Cleanup ok if modules with pending identify requests are unloaded
2012-10-09 05:22:02 -04:00
Adam
1dacc648a0
Made the warnings given by cmake for not having
...
the dependencies for modules look less scary as
they confuse dumb people currently
2012-10-09 04:13:04 -04:00
Adam
3af786d4c9
Fix fantasy !help & give it its own help header, not ChanServ's
2012-10-08 20:58:47 -04:00
Adam
e57b470e83
Made fantasy commands configurable
2012-10-08 04:16:23 -04:00
Adam
b8b63ff115
Remove the asynchronous identifing hack and replace it with something better. Fixes m_*_authentication only being able to properly work when people identify normally using nickserv/identify
2012-10-07 22:39:58 -04:00
attilamolnar
959a3f3cca
InspIRCd: Log when server-side topiclocking is enabled in the config but the module is not loaded
2012-10-07 11:49:38 +02:00
Adam
0a111c1976
Fix compile from bda3b1fa3a
2012-10-07 02:13:14 -04:00
DukePyrolator
4b68f0447c
updated docs/LANGUAGE to point to the right directory where users should put module language files
2012-10-07 08:00:31 +02:00
Adam
31914b200b
Merge remote branch 'remotes/attila/1.9+addline' into 1.9
2012-10-07 01:46:44 -04:00
Adam
ebb3fca698
Release holds on a nick on identify, if there is one
2012-10-07 01:45:43 -04:00
Adam
7f72b466ac
Set sane default last_topic_setter and last_topic_time in the event an empty topic is locked right after registering a channel without previously being set
2012-10-07 01:29:49 -04:00
Adam
4751c735ec
Fixed module language file path
2012-10-06 22:54:52 -04:00
attilamolnar
bda3b1fa3a
InspIRCd: Make functions that send ADDLINE and DELLINE, call them from the rest of the module
2012-10-07 03:15:42 +02:00
Adam
4ec10d798b
Fixups and cleanup for the last few commits
2012-10-06 20:11:47 -04:00
attilamolnar
3dd21e4dcd
InspIRCd: Add support for server side topic locks using METADATA topiclock
2012-10-07 01:35:14 +02:00
attilamolnar
682d76835e
InspIRCd: Add support for sending detecting m_topiclock and sending SVSTOPIC when it is available
2012-10-07 01:33:49 +02:00
attilamolnar
42aa367f16
InspIRCd: Send channel METADATA using a dedicated function
2012-10-07 01:32:31 +02:00
attilamolnar
ec8a1bcc82
Add a config option for server side topic locks
2012-10-07 00:59:49 +02:00
attilamolnar
2d9541c4c8
Parse and store the spanningtree protocol version for InspIRCd
2012-10-06 02:18:48 -04:00
attilamolnar
e747ba6c26
InspIRCd: Add metadata handler to recognize when a module is loaded or unloaded on the ircd side and adjust our behavior accordingly
2012-10-06 02:06:23 -04:00
attilamolnar
4431a34987
InspIRCd: Allow METADATA handler to differentiate between user, channel and other/server metadata
2012-10-06 02:06:23 -04:00
attilamolnar
14d7de0cf3
InspIRCd: Remove has_svshold, use IRCDProto::CanSVSHold
2012-10-06 02:06:18 -04:00
Adam
cd28fdc192
Show the correct reciever nick when use strict privmsg is enabled
2012-10-06 01:01:45 -04:00
Adam
25fe9c7084
Do not process() socket engine on shutdown
2012-10-05 16:23:40 -04:00
lethality
94fc2ba9c9
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2012-10-05 15:15:50 +01:00
lethality
2f87b8e430
Revert this strangeness I created ;)
2012-10-05 15:14:19 +01:00
Adam
eff61c7a97
Add an event for when nick or channel options are set
2012-10-05 05:03:55 -04:00
Adam
7c96227cd3
Use memcpy for Anope::Unhex not strcpy
2012-10-05 01:20:32 -04:00
lethality
dcfae6332e
Some minor fixes/typos
2012-10-03 21:22:03 +01:00
Adam
69437bb324
Fixed parsing squit (it has a reason)
2012-10-03 05:17:32 -04:00
Adam
7551245f57
Attempt #2 at silly topic ts thing, this is actually must cleaner
2012-10-02 23:30:31 -04:00
Adam
47bc551485
Revert "Fix topiclock on inspircd"
...
This reverts commit 87478187af .
2012-10-02 22:59:20 -04:00
Adam
87478187af
Fix topiclock on inspircd
2012-10-02 22:16:35 -04:00
Adam
7042223f2e
Somehow the kick handler got lost in the confusion. Send the topic time with ftopic on inspircd not the current time. Removed some unneeded protocol functions
2012-10-02 21:21:37 -04:00
Adam
93698f0d61
Added operserv/logsearch
2012-10-02 05:18:42 -04:00
Adam
f7aa837696
Don't unassociate accounts with users on nick changes
2012-10-02 01:30:35 -04:00
DukePyrolator
e1d1d18288
added an operserv/akill page to webcpanel
2012-10-02 05:36:31 +02:00
DukePyrolator
20a6f82753
modified the nickserv alist command to return nc->display instead of the parameter provided by the user
2012-10-02 05:35:44 +02:00
DukePyrolator
aec6cac8ca
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
2012-10-02 04:14:50 +02:00
DukePyrolator
ffca6a762d
fixed a small bug in the inspircd protocol modules
2012-10-02 04:11:52 +02:00
Adam
2d2ab4fec4
Fixed handling TOPIC on unreal, dont set topics in Channel::Reset unless we are synced, and fixed ts checking in Channel::SetModesInternal
2012-10-01 21:26:41 -04:00
Adam
a434baed91
Allow modules to store data in their own databases.
2012-10-01 18:50:29 -04:00
Adam
f14a3dfb8a
Fix a few problems found by Cronusa and KindOne
2012-10-01 04:35:36 -04:00
Adam
b19a3af4db
Add networkinfo:chanlen config directive
2012-10-01 02:29:31 -04:00
Adam
89428a9d10
Cleanup of all of the protocol modules, rewrote message handling system to be a bit more C++ ish
2012-10-01 01:56:57 -04:00
Adam
b937d6310d
timestamp column is a special case too
2012-09-30 21:36:49 -04:00
Adam
ad37bc9639
Bug #1445 - Empty out columns in SQL we have no data for on
...
insert. This is caused from serialize() only setting a key on
certain conditions and otherwise doing nothing at all.
2012-09-30 20:30:27 -04:00
Adam
56df1abdd8
Place runtime module binaries in data/runtime instead of lib/ incase of a system wide install where lib/ is not writable
2012-09-30 20:30:27 -04:00
Adam
0ea5e57298
Use RTLD_NOW when loading modules to resolve all symbols immediately.
...
This prevents modules with unresolved symbols from loading instead
of loading and crashing later.
2012-09-30 20:30:27 -04:00
Adam
3838eb1f05
Add webpanel contributors to readme and remove todo since its way out of date and has nothing more in it we want
2012-09-30 20:30:27 -04:00
Adam
9ba7196881
Make CommandSource use references, sometimes we hold them for awhile
2012-09-30 20:30:27 -04:00
DukePyrolator
1e71303ffa
fixed nickserv alist
2012-09-30 13:58:17 +02:00
lethality
74117a1e1e
added some example sql queries
2012-09-29 23:55:55 +01:00
Naram Qashat
38ad523f91
Fix a few oddball warnings that came up from clang, and also make it so webcpanel.so can be compiled under Mac OS X.
2012-09-24 15:54:49 -04:00
DukePyrolator
a71e2fb64e
make nickserv glist check if the given nickname is in the group of the user before checking for services oper
2012-09-23 20:57:35 +02:00
Naram Qashat
1b20ec8747
Forgot to delete a line in the last commit.
2012-09-22 04:18:41 -04:00
Naram Qashat
d30e53ee2c
OK, so the FIND sub-command of string() in CMake was only added with 2.8.5, change this to use the REGEX sub-commands instead. Also while I'm at it, make -pthread only get added when not on Mac OS X, it's auto-included there.
2012-09-22 03:45:51 -04:00
Naram Qashat
aa57ad6082
Fix issues with CMake trying to add /System/Library/Frameworks/Kernel.framework/Headers/sys to the include paths.
2012-09-22 02:10:49 -04:00
lethality
097893bfbf
Updated example query to include a valid value
2012-09-13 15:29:04 +01:00
Adam
16019c9827
Add m_sql_authentication to allow authenticating users against an external SQL database
2012-09-12 21:10:02 -04:00
Adam
f391100586
Fixed gettext on freebsd/any other system that uses LANG not LANGUAGE
2012-09-10 21:39:04 -04:00
Adam
c4a1e1bb0c
Fixed os_defcon too
2012-09-08 04:51:44 -04:00
Adam
7e3b5bed50
Add chanserv/set/autoop, like nickserv/set/autoop but for channels
2012-09-07 23:44:15 -04:00
Adam
c9c477ff9d
These saset command stubs can go away
2012-09-07 22:27:28 -04:00
Adam
4eb7db80a6
Fix os_session to really use ips for quits, don't enforce session for spoofed users/other users who have no ip, clean up warnings
2012-09-07 21:22:19 -04:00
Adam
9d6626f70c
Made session tracking ip based, not host based, and allow using CIDR to group multiple ips from one subnet to one session
2012-09-07 12:04:25 -04:00
Adam
5c07863ad5
Allow configuring killquick and kill delays
2012-09-07 08:46:28 -04:00
Adam
3060375251
Fixed m_ldap_authentication not returning anything if the search for an account game back empty
2012-09-07 06:52:56 -04:00
Adam
3c63e44d32
Allow ; and } in quoted strings
2012-09-07 05:59:28 -04:00
Adam
02d943bfb0
Not quite sure what I was thinking here
2012-09-05 02:56:59 -04:00
DukePyrolator
4c8fef264e
updated example.conf
2012-09-03 11:05:17 +02:00
Adam
082cf8ace8
Windows cares this is escaped + chmod too
2012-09-02 22:56:17 -04:00
Adam
1fd193840d
Fix CMake to actually make directories on install .....
2012-09-02 22:39:05 -04:00
Adam
b1f8e910eb
Version bump for 1.9.8-git
2012-09-02 09:48:13 -04:00
Adam
81cf9f0c71
Anope 1.9.7 Release
2012-09-02 08:31:43 -04:00
Adam
3264669e03
Update version.log
2012-09-02 08:31:34 -04:00
Adam
271d723bbd
Update Changes
2012-09-02 08:31:11 -04:00
Adam
a0c4575122
Regenerate language files
2012-09-02 08:31:04 -04:00
Adam
1af64a9bbb
Fix Windows
2012-09-02 08:30:54 -04:00
Adam
e3d5140dcc
Added a web panel module + a default template
2012-09-01 18:54:51 -04:00
Adam
f81d0113a2
Actually set xline's manager...
2012-08-28 00:39:50 -04:00
Adam
fde42899e7
Fixed db_old loading encrypted passwords from 1.8
2012-08-09 23:28:02 -04:00
Robby
f7bf2fa960
Put motd in conf/ not data/ and fixed the default values in the config
2012-08-08 17:09:34 -04:00
Cronus
b894a569c9
Update pid and motd file paths
2012-08-08 04:28:33 -04:00
Adam
48022c3ddf
Warn about really big integer values in the config
2012-07-18 16:52:14 -04:00
Adam
28aa981464
Actually the core can't handle empty realnames, just ignore them
2012-07-01 23:50:38 -04:00
Adam
2b8a09bf55
Remove some unused code in inspircd20 protocol module & allow /chghost/ident/naming services clients
2012-07-01 22:26:05 -04:00
Adam
a12788e8f4
Don't crash on empty setnames on inspircd1.2
2012-07-01 22:26:05 -04:00
Adam
9b5f6d3c45
Remove ExtensibleString everywhere
2012-07-01 22:26:05 -04:00
lethality
af24dc6050
Removed old set xop references and cleared up some other stuff.
2012-06-26 16:21:24 +01:00
lethality
f27560cc1e
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2012-06-26 02:01:01 +01:00
Adam
4b309b5044
Fixed accidentally recursion in User::SendMessage from last commit
2012-06-25 20:51:08 -04:00
lethality
d8a99d619f
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2012-06-22 21:26:33 +01:00
Adam
2dec8e767a
Allow userless command sources
2012-06-18 05:04:30 -04:00
lethality
ba53c7eb03
Updated MODULES somewhat
2012-06-17 22:23:22 +01:00
Adam
873d4287de
Split up bs_set
2012-06-11 15:44:48 -04:00
Adam
3626fb246e
Fixed fd leak in win32/pipe.cpp
2012-06-06 15:16:46 -04:00
lethality
a661098ef2
Some more fantasy character help output
2012-06-04 05:45:13 +01:00
lethality
a4bf5ce609
minor help output changes, including some confusion in fantasy chars
2012-06-04 04:50:35 +01:00
Adam
437944d416
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2012-06-01 04:43:26 -04:00
DukePyrolator
db37b1c634
updated chanstats
2012-06-01 07:37:34 +02:00
Adam
1e49e9b9dc
This should actually be LOG_TERMINAL, quitmsg isn't logged to terminal on shutdown
2012-05-26 02:36:02 -04:00
Adam
2cbfbc98e9
Some access level fixes from Robby to more closely match the historic levels, and some code cleanup
2012-05-26 02:15:48 -04:00
Adam
38d5f20deb
Added a ./Config option for using precompiled headers
2012-05-24 21:54:15 -04:00
Adam
70fb5900a2
Add support for inspircd2.0+s mlock, improved on Unreal's, and made server side mlock usage configurable
2012-05-23 19:35:56 -04:00
Adam
bf7d1a55af
Fixed some problems found by Robby
2012-05-23 15:09:41 -04:00
Robby
1f73e27870
Updated help messages for ns_list, cs_list, cs_entrymsg, and cs_info. Also fixed logging for cs_entrymsg.
2012-05-20 04:14:26 -04:00
Adam
699087b2bf
Fixed cs_entrymsg loading entries from the database
2012-05-20 03:57:22 -04:00
Adam
ccd29085a9
reinterpret_cast off of a virtual base does Bad Things
2012-05-17 03:57:19 -04:00
Adam
a883362c14
Fixed not always calling operator bool() in dynamic_reference, which would mess up service references and do weird things
2012-05-17 02:03:22 -04:00
Jeremy
ef88385d85
m_ldap_authentication: Removed the dependency on a specific binddn in favour of searching the tree for matching criteria and using the returned DN
2012-05-15 17:19:50 -04:00
Adam
90b0283160
Grab the DN for every LDAP query and send it in the result
2012-05-15 04:27:36 -04:00
Adam
0a8d46b538
Fixed parsing FMODE on inspircd 1.1
2012-05-14 22:30:03 -04:00
Adam
a84226edf0
Do not show help for set message if useprivmsg is disabled
2012-05-11 00:50:58 -04:00
Adam
9370b063d0
Fixed crash on access del + valgrind errors
2012-05-10 17:53:53 -04:00
Adam
d5ffae0e46
Made ssl cert and keyfiles configurable
2012-05-09 03:37:37 -04:00
lethality
f89599726e
fixed paste error (failed awesomeness) in last commit.
2012-05-09 03:11:57 +01:00
lethality
a81b3aaff1
Fixed saving backups
2012-05-09 01:23:34 +01:00
Adam
820e4edc2b
Fixed some 100% cpu bugs with the new SQL stuff, and fixed sqlite+db_sql_live
2012-05-08 18:04:49 -04:00
Robby
25586f3246
Allow services operators to release other user's nicks, and allow services operators to view the access list of other operators
2012-05-08 02:01:44 -04:00
Adam
b7149fc940
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2012-05-06 21:44:11 -04:00
Adam
675b113c3e
Split up db/conf/lib/locale install directories, and allow alternate ones to be specified at runtime
2012-05-06 21:43:50 -04:00
DukePyrolator
c797987615
Readding missing valid nick check to ns register/group removed in os_forbid commit
2012-05-05 09:35:18 +02:00
Adam
eb0e07d564
Use Unreal's MLOCK command if supported
2012-05-04 16:03:02 -04:00
Adam
1b5805eeb0
Set quitmsg on ERROR
2012-04-29 20:39:33 -04:00
Adam
42e652cae7
Pull table schemas from SQL on startup so we can alter the schemas if we need to, fixed sqlite to work again
2012-04-29 19:24:37 -04:00
Adam
62818abbf4
Added options:casemap to chose how case insensitive strings are compared, using ascii, rfc1459, or a locale installed on the system
2012-04-29 15:43:51 -04:00
Adam
4d9a96e8df
Fixes to db_sql
2012-04-27 17:06:16 -04:00
Adam
e490a5461f
Process defines even before includes, fixes defining{} pseudoclient names to something else in their respective configurations
2012-04-27 16:05:49 -04:00
Adam
5068483cb9
Add db_sql:prefix allow prefixing all anope tables similarly, and changed db_sql to update the databases incrementally instead of one big flush
2012-04-27 15:38:50 -04:00
Adam
83ee20fc29
Clarify access denied messages caused by NSSecureAdmins
2012-04-25 19:02:09 -04:00
Adam
b08aa4ed92
Check for os_sesion to exist before having defcon try and place session bans
2012-04-25 18:49:53 -04:00
Adam
1081ecdae8
Fixed non-debug build
2012-04-25 14:29:50 -04:00
Adam
2370c16f1e
Fixed build from the previous merge
2012-04-24 16:02:07 -04:00
Adam
3d84dc91f6
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2012-04-23 05:17:02 -04:00
Adam
573e49a7ea
Reworked live SQL support yet again
2012-04-23 05:08:26 -04:00
Adam
63c639e108
Fixed hashm checking in db_old and loading 1.9.1 databases
2012-04-23 05:07:06 -04:00
Adam
fc00406079
Fixed ./services --version etc not getting printed when stdout is a file/pipe/not a tty
2012-04-22 02:57:17 -04:00
DukePyrolator
b752c3a668
fixed a bug in chanstats
2012-04-13 18:33:22 +02:00
DukePyrolator
7372b457cc
fixed a compile error in m_sqlite
2012-04-08 19:29:56 +02:00
DukePyrolator
deb5196101
Added Chanstats. It uses a new, improved database format and is not compatible with current phpdenora or magirc installations.
2012-04-08 12:43:34 +02:00
DukePyrolator
9e1fda2a44
Modified the SQL API to allow unescaped parameters (useful for passing row names and NULL values)
2012-04-08 12:30:48 +02:00
Adam
9d249ef96f
Fixed unpacking questions from dns packets
2012-04-06 14:41:28 -04:00
Viper
e03b73e8cd
Revert changes made to line endings.
2012-04-06 15:36:49 +02:00
Hal9000
6b473f22bd
Revert last commit cause guess what, I screwed things up
2012-04-06 15:12:22 +02:00
Hal9000
05bb80c06c
Fixed mail function causing some MTAs to sent blank messages
2012-04-06 14:35:34 +02:00
DukePyrolator
e6edc6586e
updated the german language file
2012-04-01 20:50:46 +02:00
DukePyrolator
cf3124c063
fixed some typos
2012-04-01 20:50:04 +02:00
Adam
12a6a27b52
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2012-03-27 19:14:55 -04:00
Adam
31a0e673b2
Fixed unpacking multiple names from dns packets when one has multiple compression pointers.
...
Currently this will just fail at unpacking the later name due to offsets being invalid.
Also cleaned up the existing code and made unpacking error messages more helpful.
2012-03-27 19:01:29 -04:00
DukePyrolator
8d0b4a1bf5
added a missing error message when a module file does not exist. this fixes bug #1401 . also moved some debug messages to debug level 2
2012-03-22 07:30:38 +01:00
DukePyrolator
1b0ebcadfa
fixed bug #1399
2012-03-21 22:20:18 +01:00
DukePyrolator
0d100ffacc
fixed ns_ajoin
2012-03-21 20:25:25 +01:00
Adam
88fd1da803
Fixed typos
2012-03-13 21:07:10 -04:00
Adam
a06934777c
Actually check if the nicks arent registered, oops
2012-03-13 19:26:11 -04:00
Adam
a26f4b9a9a
Bug #1389 - readd RNG seed in the config and start DNS query ids off on a random number
2012-03-13 17:45:07 -04:00
Adam
053d6a2247
Add a nickserv:unregistered_notice config option to send a message to unregistered users on connect. Suggested by Cronus.
2012-03-13 17:18:11 -04:00
Adam
beae4775cf
Bug #1382 - Save maxusercount and maxusertime
2012-03-13 16:58:14 -04:00
Adam
cff91a532f
Made gch files depend on the header they were generated from
2012-03-11 21:21:47 -04:00
Adam
92ed5d7208
Fixed having multiple uplink blocks work right if the first uplink fails on startup
2012-03-11 16:44:44 -04:00
Adam
7800375510
Bug #1384 - Fixed spacing of connection log message if users have no vhost - patch from cbiedl
2012-03-11 05:20:28 -04:00
Adam
ab25815694
Fixed backup databases having their names collide due to not separating month and day, #1383
2012-03-05 20:15:56 -05:00
Adam
8e0104363f
Fixed bs_kick syntax error
2012-03-05 14:29:48 -05:00
DukePyrolator
b7a6d518b0
fixed the --dir commandline parameter
2012-03-04 10:18:25 +01:00
Adam
4ed844ffd5
Escape all column names when building sql queries
2012-03-02 17:05:59 -05:00
Adam
020467d472
Fixed db_old loading noexpire
2012-02-27 00:16:15 -05:00
Adam
141b87bd14
Changed the OnChanDrop event to be called right before channels are dropped, not after
2012-02-26 23:28:02 -05:00
Adam
a5b9e235ae
Added chanserv:require config option to set which modes must be on all registered channels. Prevents the core from always enforcing +r on every channel, even if chanserv is not loaded.
2012-02-26 23:23:15 -05:00
Adam
a78790eac4
Fixed vhost check on identify
2012-02-26 20:18:22 -05:00
Adam
07226feec4
Track plexus umode and cmode +C and renamed UMODE_NO_CTCP to match up with the names of other modes.
2012-02-26 19:49:02 -05:00
Adam
e73013830d
Fixed missing #include in init.cpp
2012-02-25 22:45:51 -05:00
Adam
2bc3bd3fcf
Do not send kills after sending XLines because it causes us to internally remove the user and then recieve a quit from the user (who is now nonexistant) once the IRCd processes the XLine
2012-02-25 00:06:02 -05:00
Adam
83456f6040
Fixed akill setter and ids showing in akill reasons
2012-02-24 23:25:29 -05:00
Adam
601dc41baf
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2012-02-24 14:54:44 -05:00
Adam
2337b7717d
Fixed calculating bots channel count of assigned channels and fixed the order of saving memos (among other things)
2012-02-24 14:53:34 -05:00
lethality
fde40dee7a
Tell users to use NickServ for registering nicks, not chanserv...
2012-02-24 01:50:21 +00:00
lethality
ba32aad4cb
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2012-02-23 02:32:49 +00:00
Adam
24811e5970
Added a configuration option to make all nick registrations require admin verification
2012-02-22 20:55:59 -05:00
lethality
f01aab5f9b
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2012-02-23 00:04:36 +00:00
Adam
3850b073dd
Added regex support for many commands, such as akill, sqline, snline,
...
all of the */list commands, etc.
Also extended the ability of akill to match a full nick!user@host and
real name of users.
2012-02-22 18:12:02 -05:00
Adam
81e50dd1f4
Fixed db_old loading memo owners
2012-02-22 16:25:20 -05:00
Adam
bd31fbb9f0
Also fixed m_proxyscan to handle users with invalid ips
2012-02-22 14:41:36 -05:00
Adam
000660608e
Fixed m_dnsbl handling users with spoofs/other non ips
2012-02-21 20:50:14 -05:00
lethality
826de43724
Fixed some trivial formatting
2012-02-22 00:28:58 +00:00
Adam
b84e080463
Made our message sources actual clients/servers, and put in a few more default messages for very standard things (KICK etc)
2012-02-19 20:54:55 -05:00
Adam
0ba58d7d0e
Fixed some events
2012-02-18 18:07:34 -05:00
Adam
1536c5cf60
Add users hostmask to access lists not nick when access add is used on a non registered user
2012-02-18 17:21:55 -05:00
Adam
f2ce9cd85c
Made mode lock del check status of the mode lock before removing it
2012-02-18 15:47:16 -05:00
Adam
ee5cd8493e
Use C++11's explicit override feature if available
2012-02-18 15:04:26 -05:00
Adam
41e8d27602
Fixed FreeBSD build
2012-02-16 16:02:17 -05:00
Adam
e1f5fc6a0c
Remove revision numbers as they're only ever set by Config reading git since we've switched off of SVN. Instead just use the hash for the current head when building. Also recheck the hash on every make not just Config.
2012-02-15 00:06:25 -05:00
Adam
db59f1a70f
Fixed detecting when to set +r and fixed crash on shutdown introduced by the last commit
2012-02-14 19:03:09 -05:00
Adam
a9772cde21
Clean up and reorganize our header files
2012-02-14 15:13:27 -05:00
Adam
086790d633
Removed our RNG and just use the systems, it's not very widely used. Also made DNS query ids not random as they don't need to be.
2012-02-13 00:10:45 -05:00
Adam
1bc8e2ab82
Removed operserv:notifications in favor of log blocks, as well as some other notifiications
2012-02-08 18:00:24 -05:00
Adam
089c85b27e
Fixed WallBadOS
2012-02-04 17:28:38 -05:00
Adam
01194e3958
Bump for 1.9.7-git
2012-02-04 13:12:11 -05:00
Adam
f082530f89
Anope 1.9.6 Release
2012-02-03 15:19:09 -05:00
Adam
b906656caa
Update version.log
2012-02-03 15:18:27 -05:00
Adam
378ae4c4f1
Regenerate language files
2012-02-03 15:18:06 -05:00
Adam
ce2a0f72d4
Fixed a memory leak in m_ldap
2012-01-31 16:19:47 -05:00
Adam
be5ba495f9
Not sure what I was thinking here
2012-01-31 15:44:04 -05:00
Adam
b4f27da51c
Bug #1365 - Fixed nickserv/confirm syntax for services opers
2012-01-31 15:35:51 -05:00
Adam
d09a30295b
Also refuse to load memoserv modules if memoserv isn't loaded
2012-01-26 17:04:59 -05:00
Adam
0f909273e1
Added two common warning messages on Windows to ignore
2012-01-25 16:13:38 -05:00
Adam
52eaa7d6d6
Windows
2012-01-25 15:48:07 -05:00
Adam
e88e37c59b
Add some checks in ms_* to make sure memoserv really exists
2012-01-24 18:28:37 -05:00
Adam
f10f49d6fc
Added missing expires column in /os akill view
2012-01-24 16:42:21 -05:00
Adam
d06cdaab29
Fixed os_ignore to check against users real IPs, not to match against opers, and check for expired ignores on /os ignore list
2012-01-24 16:35:54 -05:00
Adam
fc20bd7b22
Add tracking for Unreal's usermode +I
2012-01-24 16:03:44 -05:00
DukePyrolator
b3d9412452
added a french INSTALL file, thanks to MacLeod for translating
2012-01-22 17:49:23 +01:00
Adam
98feb1b76d
Cleaned up bs_kick and fixed amsg kicker
2012-01-21 00:50:48 -05:00
lethality
94c302baf3
Fixed param check from last commit
2012-01-20 20:50:36 +00:00
lethality
cdb6bb8ec2
Updated DEFCON and fixed Defcons disabling of the removed mlock command
2012-01-20 17:50:09 +00:00
lethality
a851f849df
Corrected some incorrect English
2012-01-20 15:03:49 +00:00
Adam
a270a13010
Fixed crash from last commit
2012-01-15 02:59:09 -05:00
Adam
964d63cdac
Improve on db_sql_live_read
2012-01-15 01:47:31 -05:00
lethality
f38faedbda
Fixed an incorrect crash-causing response when an invalid option is specified in botservs kickers
2012-01-14 15:58:51 +00:00
Adam
c462a69b7d
Only match users nicks against access list entries if the entry is a mask... accidentally removed from an earlier fix for #1368
2012-01-13 15:37:17 -05:00
Adam
14a2c9cec0
Fixed loading db_sql_live_read's configuration values on startup
2012-01-11 19:04:40 -05:00
Adam
a52ed70ea0
Don't ever attempt to process CTCPs as regular messages
2012-01-10 17:58:56 -05:00
Adam
7c03e60299
Removed this "valid" ip check in cidr::cidr, is wrong for IPv6 and ::pton checks this anyway using inet_pton. Also fixed a comment Robby broke in chanserv.conf
2012-01-10 17:53:48 -05:00
Adam
1e9d88af01
Add support for Unreals extban ~a:
2012-01-10 17:06:08 -05:00
Adam
815e140ecf
Fixed loading akill reasons
2012-01-08 19:42:48 -05:00
Adam
f8245574dc
Fixed topic lock on inspircd
2012-01-08 18:14:07 -05:00
Adam
830c5ca725
Cleanup of cs_tban
2012-01-07 16:21:31 -05:00
Robby
9e71394127
Cleaned up a lot of log messages, help replies, fixed cs_tban, and other small fixes
2012-01-07 04:10:30 -05:00
Adam
dd64eac782
Fixed users not being able to delete their own access with /cs access when using numbers, and clean up cs_xop slightly
2012-01-07 03:44:43 -05:00
Adam
4204ece7a8
Updated Copyright to 2012
2012-01-02 21:28:24 -05:00
Adam
60a5cc1a61
Bug #1369 - Fixed os_svsnick to allow changing the case of a users' nick
2011-12-31 03:04:44 -05:00
Adam
20aa4e85ce
Bug #1368 - check all members of a users gruop against the access list
2011-12-31 01:33:32 -05:00
Adam
f1b05acf26
Fixed this back now unreal sends 0 for non logged in users
2011-12-28 12:49:04 -05:00
Adam
a4bf770a49
Added ESVID support to unreal32
...
Also fixes a crash due to unreal's ESVID change when users connect.
2011-12-28 04:31:44 -05:00
Adam
150831c1a6
Made capab management a bit simplier
2011-12-27 23:11:14 -05:00
Adam
1a4157b7f4
Add DT_ALLOW_EMPTY config flag, allow fantasychars to be empty
2011-12-23 12:29:30 -05:00
Adam
3bcb285690
Somehow these two modules got mixed up..
2011-12-22 03:46:35 -05:00
Adam
704dbe27bf
Updated /bs info output and note db_sql can truncate entire databases
2011-12-20 18:38:37 -05:00
Adam
bbddf50c9d
Fixed botserv kickers
2011-12-19 17:13:38 -05:00
Adam
e5851addd6
Fixed saving databases with MySQL when shut down by SIGINT
2011-12-19 16:07:28 -05:00
Adam
03119f2aa9
Made m_dnsbl ban IPs not hostnames
2011-12-19 15:41:14 -05:00
Adam
45fc3ce1c4
Fixed formatting of many lists and INFO outputs
2011-12-19 15:37:15 -05:00
lethality
d320c73f23
Fixed entry messages not displaying.
2011-12-17 10:30:13 +00:00
lethality
ca8ce89de4
Fixed a slight error in email registration/resend and some minor typos.
2011-12-17 02:06:53 +00:00
Adam
c88a751eab
Add privilege ranks to determine how powerful privileges are
2011-12-15 02:29:13 -05:00
Adam
9ea030d060
Fixed access comparators
2011-12-15 01:14:13 -05:00
Adam
ad14c8145b
Update channel last used times when founders use the channel, too
2011-12-12 15:37:08 -05:00
Adam
255a8da347
Added oper:require_oper configuration option
2011-12-12 15:26:59 -05:00
Adam
4211dcf6f9
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2011-12-11 17:03:33 -05:00
Adam
3c5337fb8a
Fixed translating messages with varargs sent directly to users, too
2011-12-11 17:01:56 -05:00
lethality
d2f788c61e
Added K to vhost_chars...
2011-12-11 05:17:19 +00:00
Adam
fa54d5acb7
Fixed a memory leak in m_sqlite
2011-12-08 17:29:17 -05:00
Adam
aeefe1650e
Bug #1364 - fixed crash in /cs kick
2011-12-05 11:52:40 -05:00
Naram Qashat
c80e7844b7
Attempt to fix issue with modules having their link libraries in the wrong order.
2011-12-03 19:17:41 -05:00
lethality
620c08bd7a
Fixed some more errors in sql live-write, hopefully the last.
2011-11-25 23:12:23 +00:00
lethality
23a92709c0
Fixed a crash in ns saset when using mysql-write module
2011-11-25 23:10:26 +00:00
Adam
cef3eb78df
Remove send_cmd and replace it with a stringstream
2011-11-25 00:44:31 -05:00
Adam
12d0a7302f
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2011-11-21 16:24:45 -05:00
Adam
0dd85f7761
Fixed not translating messages using varargs
2011-11-21 16:17:17 -05:00
Naram Qashat
51d6e8ebfb
CMake handles strings and lists differently, so this should hopefully finally fix the linking issue.
2011-11-20 18:41:46 -05:00
Naram Qashat
3f14882992
Apparently pstdint.h was NOT included way back with commit 377a7a9 to use something similar to stdint.h
2011-11-20 18:34:13 -05:00
Naram Qashat
5a17b060fe
Really fix linking in libraries (even if gettext isn't found on *nix), and a minor nitpick about the leading spaces on LINK_LIBS.
2011-11-20 18:32:47 -05:00
Naram Qashat
bf8e4ac714
Attempt to fix where link libraries are set when compiling to fix failed builds on systems that require -ldl.
2011-11-20 16:09:59 -05:00
Adam
781ed11ba8
Allow services operators to modify other users access list
2011-11-20 15:31:01 -05:00
Adam
6f8f7491db
Allow kicking and banning by mask
2011-11-18 16:20:17 -05:00
Adam
c43cdf438f
Added operserv/logout
2011-11-18 11:22:01 -05:00
Adam
8374211239
Allow having multiple fantasy characters
2011-11-18 00:36:54 -05:00
Adam
69dfc729e9
Fixed storing mode locks
2011-11-17 12:46:18 -05:00
Adam
5281282a61
Fixed compile error
2011-11-16 16:22:58 -05:00
Adam
503eb42e40
Made looking up a level for a nonexistant privilege debugg log a warning, not abort
2011-11-15 16:30:31 -05:00
Adam
38d90c76e0
Fixed loading ssl certs for users
2011-11-15 16:27:32 -05:00
Adam
1356498320
Prevent locking mode Z on unrealircd
2011-11-15 16:22:02 -05:00
Adam
9ed203c0cb
Fixed crash on shutdown & a compiler warning
2011-11-15 16:16:38 -05:00
Adam
b5ff856f47
Windows
2011-11-08 17:29:16 -05:00
Adam
97b9055f92
Remove xlines from the IRCd aswell as from our list when the clear command is used, and fixed adding timed Zlines to inspircd
2011-11-05 15:05:15 -04:00
Adam
5f0b9338dc
Set proper expirys on ZLines if the IRCd supports it
2011-11-05 00:11:49 -04:00
Adam
b3194a10c5
Updated Changes
2011-11-04 19:39:27 -04:00
Adam
d01f4ea3ce
Allow /os userlist to match host and ip too
2011-11-04 18:04:12 -04:00
Adam
a42cafbf69
Store flags for memos, fixed the expiring very soon message, fixed /os session view when a session exception is added at a lower limit than th default
2011-11-04 17:55:14 -04:00
Adam
066e5b3fc0
Delete all tables before flushing not just ones we know about
2011-11-04 02:28:21 -04:00
Adam
09dba47653
Added an assignment operator for Serializable because some STL containers use it which causes iterators to become invalidated
2011-11-03 18:59:51 -04:00
Adam
ca33ac608d
Bug #1354 - Allow mode chars to be used for channel prefixs in services.conf
2011-11-03 02:28:29 -04:00
Adam
302989bed1
Clarify the message when users try to lock modes they don't have access to lock
2011-11-01 01:11:26 -04:00
Adam
22b7d9fbee
Added a copy constructor to dynamic_reference to allow references to reference other references correctly
2011-11-01 00:15:28 -04:00
Adam
9dd71c427d
Fixed the signal/fork/wait mess hopefully once and for all. fork() did not copy kqueue descriptors on freebsd which caused problems
2011-10-29 21:16:50 -04:00
Naram Qashat
655c1cc1f7
Fix a few warnings that only showed up with gcc 3.4.6 here (sadly, there is one on every file about anonymous variadic macros that I can't get rid of).
2011-10-27 18:21:49 -04:00
Adam
d9333e02fa
Clear flags before rebuilding them from the databases. Fixes bug #1351 where default flags would always be set when unserializing objects.
2011-10-27 18:01:56 -04:00
Adam
39ac438b8d
Ignore sigchld/usr2 sent to the child process after fork
2011-10-27 15:09:31 -04:00
Adam
0761a4a692
Bug #1350 + other related fixes
2011-10-27 14:46:20 -04:00
Adam
66ca256cfc
Fixed loading exceptions in db_plain
2011-10-27 13:50:32 -04:00
lethality
961bb6e27e
Fixed some typos/errors in the example configs comments.
2011-10-27 00:13:00 +01:00
Adam
b14f5ea884
Fixed accidentally clearing botmodes when joins are sent
2011-10-26 16:52:00 -04:00
Adam
bf66336e2c
Bug #1347 , fixed incorrect param parsing in cs_set_misc
2011-10-26 15:29:45 -04:00
Adam
c79a575452
Bug #1348 - Fixed /cs entrymsg list
2011-10-26 15:17:05 -04:00
Adam
8334128680
Removed the old unordered_map code
2011-10-26 14:31:58 -04:00
Adam
7c62de1f27
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2011-10-24 16:37:29 -04:00
Naram Qashat
377a7a968b
Fixed bug #1349 (m_sqlite compiles without error under FreeBSD), as well as use C99's stdint.h (or cstdint if available) to get (u)intX_t types instead of our stupid typedefs. pstdint.h included in case there is no cstdint or stdint.h available.
2011-10-24 16:32:29 -04:00
Adam
ccf29c0134
Fixed the capab parser to parse capab tokens prefixed with :. Fixes not detecting quitstorm support on ratbox
2011-10-24 13:19:51 -04:00
Adam
d0513d6506
A few minor fixups
2011-10-22 16:11:26 -04:00
Adam
f4a0bdd54d
Added our own eventfd test for openvz machines which have eventfd but can not be used
2011-10-22 12:45:55 -04:00
Adam
3e2ac3640d
Bug #1343 - don't allow recovering and ghosting enforcers
2011-10-22 11:35:31 -04:00
Adam
c8b3809fc9
Added akill ids
2011-10-22 11:21:21 -04:00
Adam
ad2ef75cbe
Fixed a race condition with installing signal handlers and forking
2011-10-22 11:20:50 -04:00
Adam
6ce9010324
Fixed extracting multiple words from our serializable stringstream
2011-10-21 18:01:51 -04:00
Adam
d0afc8c509
Added m_rewrite
2011-10-21 00:21:34 -04:00
Adam
230b3bc884
Only fork if we are at term
2011-10-20 13:38:37 -04:00
Adam
1cfb630ede
Fixed a crash in clearusers
2011-10-20 11:54:56 -04:00
Adam
d16f9620d5
Bug #1342 - fixed tracking chmodes in bahamuts sjoin
2011-10-19 12:59:16 -04:00
Adam
fc16746352
Prevent chankill from akilling my clients
2011-10-18 12:18:18 -04:00
Adam
eb5b5f97d1
Fixed compile errors on release build
2011-10-18 12:06:51 -04:00
Adam
faea45245d
Reorder some stuff in Init & the ts6 proto mods to fix weirdness from bots being introduced by 3rd party modules
2011-10-18 01:48:05 -04:00
Adam
2c614d5aab
Fixed up anoperc to work with the newer startup method
2011-10-15 02:08:52 -04:00
Adam
89b4be681d
Fixed crash on /os oper del
2011-10-15 00:54:32 -04:00
Adam
28ca0e1007
Fork earlier in startup to prevent it messing up threads, if there are any
2011-10-14 22:07:13 -04:00
Adam
2504af7d0f
Fixed os_forbid adds reason if no expiry is given
2011-10-14 12:53:28 -04:00
Adam
ddc3c2f38c
Added options:nonicknameownership config option
2011-10-14 12:20:07 -04:00
Adam
53275c362c
Don't add new levels to existing channels default, screws with stuff when the config is reloaded
2011-10-11 02:50:37 -04:00
Adam
f3f6727cdd
Bug #1337
2011-10-11 00:09:26 -04:00
Adam
4681e3a0ef
Allow chanserv/suspend to take an expiry time
2011-10-10 17:19:06 -04:00
Adam
80f4f317b2
Put serialized_items on the heap to prevent weird crashes on shutdown from the list being destructed before members in it
2011-10-10 15:04:23 -04:00
Adam
9f3d735d9d
Allow nickserv/suspend to take an expiry time
2011-10-10 14:16:59 -04:00
Adam
0e012f73d4
Check for being at terminal before forking
2011-10-09 21:29:34 -04:00
Adam
9f850334a1
Give more verbose messages on startup
2011-10-09 02:52:13 -04:00
Adam
af273e3da5
Store flags for objects, also fixes bug #1333
2011-09-25 15:34:56 -04:00
Adam
1f3e96f4ad
Made channel privileges case insensitive
2011-09-25 14:42:09 -04:00
Adam
e7ba639beb
Remove opnotice from example configs
2011-09-25 14:38:21 -04:00
Adam
1f2399de36
Added a new database format and sqlite support. Also moved db-convert to a module.
2011-09-25 04:19:15 -04:00
Adam
43201ead95
Fixed /os reload doing weird things to service channels, and allow setting modes by clients on burst
2011-09-19 18:35:40 -04:00
Adam
7dce64e540
Fixed missing _ in cs_appendtopic
2011-09-19 13:14:20 -04:00
Adam
1184eb59c5
Allow OnPreHelp to stop processing
2011-09-19 13:12:52 -04:00
Adam
4c2a4929ea
Call fantasy events even if the commands for them don't exist
2011-09-19 12:36:52 -04:00
Adam
be77a7e27e
Bug #1334 - fixed crash on /os oper info
2011-09-19 12:29:54 -04:00
Adam
934723faa5
LOG_COMMAND must now always give a valid command
2011-09-19 12:14:02 -04:00
Adam
f07295cc78
Bug #1332 - Fixed ValidateUser to not require secure off to disable nickserv kill
2011-09-16 14:07:33 -04:00
Adam
26c1d67556
Fixed compile errors & warnings from 1.9.6 to 1.9 merge
2011-09-10 16:27:10 -04:00
Adam
3d5889c308
Updated channel flag names to remove LOGCHAN
2011-09-10 16:08:58 -04:00
Adam
213c1c4860
Changed msgmerge to not use -E.. it will escape all of some languages and mess up poedit etc. Keep it in xgettext for the bold/underline characters.
2011-09-10 02:42:18 -04:00
Adam
63cb8ca24c
Moved signal/thread/mode checking to use signal pipes
2011-09-10 02:06:31 -04:00
Adam
dc5d1fa21c
Made ChanServ privileges configurable
2011-09-10 02:06:31 -04:00
Adam
563d158e49
Allow Config to install cmake
2011-09-10 02:06:31 -04:00
Adam
1478b5bbd7
Added chanserv/log
2011-09-10 02:06:29 -04:00
Adam
19e0b87aa1
Removed /bs set msg
2011-09-10 02:05:56 -04:00
Adam
17ea4ed8f5
Fixed service_reference to work correctly with external classes
2011-09-10 02:05:03 -04:00
Adam
feaef7cc4a
Allow services to register or unregister themselves
2011-09-10 02:05:03 -04:00
Adam
c6d3fbdfab
Added kqueue
2011-09-10 02:05:02 -04:00
Adam
700a585b1b
Allow modules to add their own channel levels
2011-09-10 02:05:00 -04:00
Adam
62752db4c4
Rewrote mlock saving/loading code to not use this silly extensible hack
2011-09-10 01:58:39 -04:00
Adam
f025d1b495
Made service_reference type safe
2011-09-10 01:58:38 -04:00
Adam
8c4417cad1
Removed opnotice
2011-09-10 01:58:38 -04:00
Adam
d4db2b84f2
Made the IsValidHost checks configurable
2011-09-10 01:58:38 -04:00
Adam
bb8e04c835
Added oper:host and oper:vhost
2011-09-10 01:58:35 -04:00
Adam
b504791bad
Cleaned up the dns engine, and fixed sometimes parsing multiple answer queries incorrectly
2011-09-10 01:55:37 -04:00
Adam
d5749c11f3
Fixed eventfd pipeengine to not add the same socket twice
2011-09-10 01:55:37 -04:00
Adam
f54ab5e2ca
Squash merge of 1.9 to 1.9.6
2011-09-10 01:55:29 -04:00
Adam
1e45019f8a
Added m_proxyscan
2011-09-10 01:55:11 -04:00
Adam
2eb708e5ad
Cleaned up some of the socket code, cleaned up the pipe engines, added support for binary sockets, and cleaned up the asynch connect/accept code
2011-09-10 01:55:09 -04:00
Adam
4fcb371bc8
Track what "level" channel status modes are, which allows us to have chanserv/mode determine if a status mode can be set by users better
2011-09-10 01:52:59 -04:00
Adam
6401d93b8e
Added chanserv/up and chanserv/down
2011-09-10 01:52:59 -04:00
Adam
8a9a39c065
Renamed the core pseudoclient modules to match their names
2011-09-10 01:52:59 -04:00
Adam
13e8b26989
Made email messages sent by services configurable
2011-09-10 01:52:59 -04:00
Adam
8a6d6577bd
Removed log:inhabitlogchannel and replaced it with service:channels
2011-09-10 01:52:46 -04:00
Adam
4a7ba7ef4c
Removed SZLine. Instead, have AKILL determine whether or not a ZLINE should be set.
2011-09-10 00:58:35 -04:00
Adam
2b5d9f349f
Bump for 1.9.6 git
2011-09-10 00:54:29 -04:00
Adam
3a502f2189
Anope 1.9.5 Release
2011-09-09 23:28:58 -04:00
Adam
b6dad375a3
Update version.log
2011-09-09 23:28:37 -04:00
Adam
3cbad7f0df
Regenerate language files
2011-09-09 23:27:15 -04:00
VisioN
b80a0a8d74
Updated Greek language file
2011-09-09 22:27:51 -04:00
Adam
f844b0a161
Changed User::IsRecognized check to default to secure
2011-09-09 19:18:43 -04:00
Adam
6bd31b0333
Bug #1330 & many other small fixes
2011-09-08 19:00:30 -04:00
Adam
7de1a7a6d1
Don't try and part service bots twice when channels drop
2011-09-05 18:40:34 -04:00
Adam
3815e7d61e
Translate whole messages before splitting them up to send to users
2011-09-03 14:39:12 -04:00
Adam
30e6fc07d6
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2011-09-03 14:13:14 -04:00
Adam
fe1c5d41f9
Bug #1328 - Fixed fantasy to re-split message parameters correctly
2011-09-03 14:10:48 -04:00
lethality
fa5ba63542
Fixed a typo in the OperServ Global command
2011-09-03 13:44:20 +01:00
Adam
073db54354
Added permission check in cs_sync
2011-09-03 01:29:57 -04:00
DukePyrolator
ef10b5a834
Fixed operserv global
2011-09-03 06:58:49 +02:00
Adam
1c5ff92c93
Changed a few fatal exceptions to shutdown a bit more gracefully
2011-08-29 17:08:26 -04:00
Adam
b24ea29bf5
Fixed the /ms del message sent to users when they use /ms read
2011-08-29 16:13:37 -04:00
Adam
5cf3ddb7b1
Made config rehashing not wipe opers configured with opersev/oper
2011-08-29 16:03:33 -04:00
Adam
1e1a41f0e7
Added missing ` in docs/LANGUAGE
2011-08-27 20:58:09 -04:00
Adam
28e8190e6b
Fixed some cmake warnings
2011-08-27 20:47:30 -04:00
Adam
670c928a9f
Tweaked the access operators to allow superadmins to be > channel founders
2011-08-27 17:13:28 -04:00
Adam
d07a69278d
Fixed /cs clone to set botmodes on the botserv bot when cloning channels
2011-08-27 16:52:07 -04:00
Adam
bb52530eb2
Fixed mlock with param modes if you change (but not unset) the mode
2011-08-27 16:45:14 -04:00
Adam
309dfa36e7
Fixed a few mysql problems, including bug #1326
2011-08-27 16:14:04 -04:00
Adam
5c57f5aa0b
Fixed /ns logout on other users
2011-08-27 15:34:09 -04:00
Adam
a36e575500
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2011-08-25 19:01:40 -04:00
Adam
8702031bcd
Set the creator of default mlocks to the channel founder when a channel is registered
2011-08-25 19:01:01 -04:00
Adam
1571508aac
Only match users against the more "serious" extbans (ones which prevent users from joining)
2011-08-25 10:16:56 +02:00
DukePyrolator
6dacec22a4
guested nicks are now logged out from the recovered account on /nickserv recover
2011-08-24 21:11:23 +02:00
Adam
fdbbea2609
Fixed cs_set_misc
2011-08-24 14:27:01 -04:00
Adam
dffed5a259
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2011-08-24 13:57:56 -04:00
Adam
5d681a74ad
Clear NS_HELD from nicks when recover expiry is up
2011-08-24 13:56:48 -04:00
DukePyrolator
d80e00f5d7
Fixed automatic fingerprint identify on nickchange between registered nicks
2011-08-24 13:57:40 +02:00
Adam
21a8bff011
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2011-08-23 19:04:27 -04:00
Adam
fb14f7706c
Set os_session as having first priority for events
2011-08-23 19:03:04 -04:00
DukePyrolator
2284c31f90
Replaced some chanserv/forbid with operserv/forbid in example.conf and added a check for ForceForbidReason in os_forbid
2011-08-23 11:42:40 +02:00
Adam
b5b2c42242
Removed this ondeleteobject event, was for m_async_commands which died
2011-08-22 17:14:18 -04:00
Adam
a2f92b642c
Fixed the db_mysql metadata load events to use the right keys
2011-08-22 13:14:08 -04:00
Adam
c996356fab
Bugs #1321 & 1322
2011-08-21 16:35:22 -04:00
Adam
d71ae412bb
Fixed /cs access add log message to not show override for channel founders
2011-08-21 14:54:06 -04:00
Adam
68a125bf6e
Fixed ns_set_misc and cs_set_misc to allow unsetting values
2011-08-21 14:33:11 -04:00
Adam
37c7ca8b87
Fixed AddAkiller
2011-08-21 14:09:55 -04:00
Adam
4663970722
Removed m_async_commands, it can still cause crashes from invalid pointers on the stack & is a giant mess anyway
2011-08-20 00:57:35 -04:00
Adam
a68d17c17e
Moved the ERROR log message out of debug
2011-08-20 00:51:39 -04:00
Adam
fa3b74a5b4
Fixed zlines to only add the xline host, fixed db_mysql's write function, and prevent adding multiple of the same nick to access lists
2011-08-20 00:50:26 -04:00
Adam
fd999b996f
Fixed some problems with deleting access
2011-08-19 16:14:26 -04:00
Adam
b4f57247b8
Fixed AccessGroup::operator> fail
2011-08-19 04:20:11 -04:00
DukePyrolator
abdc69aa94
added some log message for automatic fingerprint identify and removed a unused function from ns_cert
2011-08-19 09:07:19 +02:00
Adam
1b02216f2d
Fixed crash in /cs mode
2011-08-18 23:08:27 -04:00
Adam
db340f96d6
Fixed some permission checking fail in modules that got messed up from the big commands sed
2011-08-18 22:04:59 -04:00
Adam
0cdca534a8
Moved CA_TOPIC to qop aswell. Newer channels (default) to TOPIC at 5 but older channels will remain at founder only, causing access list to think newer aop are level 10000 due to having this permission on older channels.
2011-08-18 17:30:49 -04:00
Adam
71b9bbd1ac
Bug #1315 - moved CA_ASSIGN permission from sop to qop
2011-08-18 16:48:51 -04:00
DukePyrolator
2f3969b4be
Bug #1317 - fixed sha1 fingerprint hashes in the inspircd protocol modules
2011-08-18 07:59:58 +02:00
Adam
ff7479f437
Fixed attaching to events in db_mysql & possibly having ChannelInfo::WhoSends return NULL if there really are *no* bots
2011-08-18 00:47:34 -04:00
Adam
487d828fa0
Actually made the nickserv block optional
2011-08-17 22:05:47 -04:00
Adam
f41081ba51
Include when an access entry was created in access view
2011-08-17 21:41:30 -04:00
Adam
ede910d655
Made /os oper info also show all inherited commands/privs
2011-08-17 15:56:40 -04:00
Adam
0f4c9a43b3
List supported languages in /ns help saset language
2011-08-16 16:38:42 -04:00
Adam
9aa414b1f6
Fixed matching acount access entries against nicknames
2011-08-16 15:28:21 -04:00
Adam
2d9ddb065f
Bug #1316 - added permissions for hs_request commands
2011-08-16 13:43:01 -04:00
Adam
1f542e1e75
Moved cs_seens data purger log message to debug
2011-08-16 00:16:00 -04:00
Adam
68e0d99f62
Fixed select()ing 0 sockets on Windows
2011-08-16 00:09:09 -04:00
Adam
f43287f43d
Fixed grammar problem in cs_clone
2011-08-14 22:10:17 -04:00
Adam
2e7bd6498f
Fixed /cs clone access
2011-08-14 21:46:14 -04:00
Adam
786397f77d
Massive cleanup of cs_seen, added help, syntax messages, command descriptions, removed lots of dead code, fixed memory leaks, etc
2011-08-14 21:33:07 -04:00
Adam
960c339a4c
Brought back the old 1.7 behavior of a level -1 matching all users and 0 matching all identified users
2011-08-14 18:50:22 -04:00
Adam
fddb2304c6
Bug #1312 , fixed loading autoowner from db_plain
2011-08-14 17:01:28 -04:00
Adam
1b8dc4d096
Fixed updating exceptions
2011-08-14 16:34:20 -04:00
Adam
fcc03f4ed8
Do not put users hosts in session akills
2011-08-14 15:59:14 -04:00
Adam
78b8b30766
Fixed resolving hosts when connecting to our uplink
2011-08-14 15:27:20 -04:00
Adam
91d8cc4c5b
Revert "Fixed resolving hosts on connect"
...
This reverts commit 11619be8b9 .
2011-08-14 15:25:02 -04:00
DukePyrolator
11619be8b9
Fixed resolving hosts on connect
2011-08-14 21:21:50 +02:00
Adam
e767ded69f
Fixed default settings for log blocks
2011-08-14 01:01:38 -04:00
Adam
83a579fb9a
Fixed number list position when requesting custom lists from akill
2011-08-13 23:05:30 -04:00
DukePyrolator
244f87917c
Fixed permission check in botserv set
2011-08-13 20:00:45 +02:00
Adam
6f0da68915
Fixed anope_os_core insert statement
2011-08-13 09:43:38 -04:00
Adam
af438527e9
Fixed /cs saset noexpire syntax
2011-08-13 09:27:42 -04:00
Adam
ad4c4e462b
Send replies back to uses after m_ldap_authentication processes
2011-08-12 13:08:53 -04:00
Adam
ed33a4f75b
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2011-08-12 12:48:29 -04:00
Adam
f3d7d4ee37
Track when our clients are introduced or not
2011-08-12 12:46:11 -04:00
DukePyrolator
bd4916ee84
Fixed loading/saving XLines in db_plain
2011-08-12 14:54:31 +02:00
Adam
feee50e695
Allow bot usermodes to be configurable
2011-08-12 03:13:56 -04:00
Adam
54710a782b
Removed the unused ChannelModeBan code
2011-08-12 01:51:14 -04:00
Adam
d44a1d0867
Fixed Windows runtime problems
2011-08-11 23:10:08 -04:00
DukePyrolator
c2780e1de4
Added a separate field for last seen realhost to ns_info, shown to services admins only
2011-08-11 22:21:40 +02:00
DukePyrolator
4e1f54ff9c
added cs_seen
2011-08-11 07:03:20 +02:00
Adam
3755bf5bcd
Ignore SIGPIPE
2011-08-10 15:50:45 -04:00
Adam
25d422d32b
Fixed flags +* and -*
2011-08-10 15:47:02 -04:00
Adam
697bc8d8e8
Added a services.host define to easily change every clients hostname
2011-08-10 05:05:09 -04:00
Adam
4bdc9824a0
Added two missing files
2011-08-10 01:34:14 -04:00
Adam
ded98ed3de
Fixed windows build
2011-08-10 01:32:07 -04:00
Adam
13bcc4ef14
Replace the old sigaction for a signal when our Signal destructs
2011-08-10 00:28:31 -04:00
Adam
ce92c9b21b
Remove +P from unregistered channels if persist is set
2011-08-09 22:18:31 -04:00
Adam
b332fbd7a7
Fixed parsing TMODE on ratbox
2011-08-09 18:34:17 -04:00
Adam
eaf4e69cf1
Updated Changes
2011-08-09 17:07:20 -04:00
DukePyrolator
2f67c704fe
fixed the operserv forbid del command
2011-08-09 16:38:10 +02:00
Jens Voß
8348392af2
fixed wrong syntax-message for botserv set msg
2011-08-09 13:36:33 +02:00
Adam
8116ad9b28
Added forgotten founder checks to cs_access, fixed fantasy replies to come from the right service, and fixed the accessgroup operators to acount for founder/superadmin
2011-08-09 04:38:35 -04:00
Adam
cb7435982c
Fixed a typo in init.cpp
2011-08-09 01:56:08 -04:00
Adam
776583a665
Simiplied a bit of the access system
2011-08-09 01:55:34 -04:00
Adam
91c3363c15
Hopefully sort this AccessGroup::HasPriv once and for all
2011-08-09 00:06:44 -04:00
Adam
b7542fd6f2
Added a few sanity checks which never really should happen to db-convert
2011-08-08 23:41:03 -04:00
Adam
0c860a77c0
Fixed CMakeLists.txt detecting epoll
2011-08-08 23:32:52 -04:00
Adam
2d591f7f59
When we split from the uplink send a quit for *all* of our clients not just bots
2011-08-08 20:34:27 -04:00
lethality
9cb96f3bfb
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2011-08-08 06:24:29 +01:00
lethality
286a9edb1e
Standardized some of the SyntaxError/Help replies and corrected some syntax in BotServ set
2011-08-08 06:19:35 +01:00
Adam
c4da496834
Copy modules to the runtime directory in one big read/write if we can instead of this 1 byte at a time thing, significantly improves startup loading time.
2011-08-08 00:32:09 -04:00
Adam
ade92395a0
Fixed the pipengines
2011-08-07 22:34:16 -04:00
Adam
c6741d3765
Always reset the levels of newly created channels, fixed DetermineLevel matching ACCESS_INVALID levels, and added in a disabled config option for levels
2011-08-07 19:04:27 -04:00
Adam
25e3408ff6
Fixed generating sid on startup
2011-08-07 17:43:23 -04:00
Adam
35588cc521
Made botserv bots with no commands just ignore messages to them, and made bots only tell users to use HELP if they have a HELP command
2011-08-07 16:04:40 -04:00
Adam
32bb63f047
Updated tables.sql
2011-08-07 15:56:35 -04:00
Adam
27912e1e8f
Fixed two of the xop log messages
2011-08-06 19:43:06 -04:00
Adam
b678aa64d8
Give channel founders +qo by default
2011-08-06 19:41:37 -04:00
Adam
c3e9fc4a8d
Show channel founders their channels in /ns alist
2011-08-06 18:33:44 -04:00
Adam
66ab59d163
Fixed loading older access entries
2011-08-06 18:21:59 -04:00
Adam
deb79e830d
sed'd a few typos
2011-08-06 18:05:16 -04:00
Adam
a6dd65f916
Fixed suepradmin
2011-08-06 17:33:59 -04:00
Adam
0448e386de
Document what /os oline does
2011-08-06 16:49:55 -04:00
Adam
749de0054f
Update last used times on channels when someone with access uses them
2011-08-06 04:32:50 -04:00
Adam
7849667a19
Added a define{} block which can be used to easially rename things
2011-08-06 04:16:10 -04:00
lethality
e03efdee97
Fixed ns_ajoin to check if adding a duplicate channel
2011-08-06 00:31:24 +01:00
lethality
d6a8d27265
Fixed an error and typo in CS SET OPNOTICE
2011-08-05 16:07:41 +01:00
Adam
5e18a7292b
Mark the new commands/ modules as CORE and fixed a typo in the example.conf
2011-08-05 06:18:38 -04:00
Adam
e66063e630
Rewrote the example configurations and split them
...
up into seperate files for each pseudo client.
Also reorganized how the modules are stored, and
made most of the old "extra" modules "core"
2011-08-05 05:35:31 -04:00
Adam
9ec18a3b02
Added a command:permission setting
2011-08-04 21:59:01 -04:00
Adam
773a1f3075
Updated a bit of the TODO
2011-08-04 16:41:36 -04:00
Adam
b3f4ba0082
Start the ts6 sid generator off at 00A if none is given
2011-08-03 06:09:27 -04:00
Adam
34da226bd9
Generate random SIDs for us if one is not specified
2011-08-03 05:54:03 -04:00
Adam
16280f4f7f
Added operserv/kill and removed version.h from .gitignore
2011-08-03 05:42:41 -04:00
Adam
42f954ff7d
Fixed reintroducing our clients if we disconnect and reconnect to the uplink
2011-08-02 22:39:14 -04:00
Adam
09f5591aba
Fixed /cs clone copying channel access, fixed restricted, and fixed some compiler warnings
2011-08-02 05:07:59 -04:00
Adam
f690cd802e
Made /ns info default to your account or your nick if no arguments are given
2011-08-02 02:02:13 -04:00
Adam
d43e1fb800
Added opertype:modes
2011-08-02 01:50:09 -04:00
Adam
41b40f6504
Split /os mode into /os mode and /os umode to make giving permission to just one possible
2011-08-01 23:42:20 -04:00
Adam
f7adc0b35b
Rewrote the access systems and added a flags access system
2011-08-01 22:37:27 -04:00
lethality
710c02f3bd
Fixed bug #1301 - Changed operserv/staff to reflect its renaming to operserv/oper
2011-07-31 19:11:26 +01:00
lethality
7f69d2b95f
Fixed bug #1300
2011-07-31 14:41:59 +01:00
Adam
a18e3f3380
Bugs 1297-1299 and made /os stats work like the help describes it does
2011-07-31 07:00:27 -04:00
Adam
63a4201d15
Fixed these ModuleManager::Attach calls once and for all..
2011-07-31 06:24:24 -04:00
Adam
b751800ff4
Fixed os_defcon
2011-07-31 06:24:11 -04:00
Adam
f32149117a
Fixed error message from being unable to connect
2011-07-31 04:00:35 -04:00
Adam
1cb11bba5d
Fixed a few small problems, including m_ssl's connect feature sometimes failing for no good reason
2011-07-31 03:22:23 -04:00
lethality
f29c88bcd5
Fixed bug #1294 , Crash on NS SET HIDE
2011-07-29 22:50:45 +01:00
lethality
f5e78d7c88
Fixed a typo in the nickserv/auspex oper privilege
2011-07-28 07:06:08 +01:00
lethality
25c4985518
Fixed OS LOGONNEWS
2011-07-28 06:36:29 +01:00
Adam
cd4f6da735
Bug #1289 - Fixed hooking to delcore event in cs_main
2011-07-27 19:24:58 -04:00
Adam
6e032ded6e
Bug #1288 - Fixed crash on /cs help access
2011-07-27 19:17:21 -04:00
Adam
e2b47e001f
Bug #1291 - fixed parsing JOIN on ratbox
2011-07-27 19:06:42 -04:00
lethality
b32c961c2e
Show the description in cs help set instead of the syntax
2011-07-27 16:54:50 +01:00
Adam
088337ea07
Fixed /os ignore, /os exception del, and a crash in /cs entrymsg
2011-07-26 23:18:54 -04:00
Adam
e8c00b9e8b
A few small fixes
2011-07-26 05:44:14 -04:00
lethality
023d4b44ec
Fixed a typo that broke CS SET RESTRICTD and re-added abbreviation for CS SET DESC
2011-07-23 13:22:56 +01:00
Charles Kingsley
87d2f4b8d7
Fix couple of typos in modules
2011-07-23 13:07:19 +01:00
lethality
39ca53cfcf
Fixed hs_request and corrected a typo(?) in hs activate
2011-07-17 21:58:27 +01:00
lethality
46f2f3bd8f
Fixed some of the extra modules
2011-07-17 13:08:15 +01:00
Adam
cb56d50837
Fixed up cs_set_misc and ns_set_misc
2011-07-17 06:08:35 -04:00
Adam
b19dddb0f6
Fixed a few of the /cs set syntax messages to reflect the new syntax
2011-07-16 07:03:04 -04:00
Adam
acceabe3a8
Bug #1287 - Only check if users should be deopped on syncing channels
...
when the user is on a server that is also syncing.
This prevents us from deopping all users who join a new channel
when recovering from a netsplit that don't explicitly have access
to that channel.
2011-07-16 06:52:13 -04:00
Adam
c3993b3123
Fixed appending !*@* to some access list entries that are valid hosts
2011-07-14 22:37:46 -04:00
Adam
f277be0f26
Fixed OSOpersOnly & CSOpersOnly
2011-07-14 21:40:21 -04:00
Adam
1a2486d2ec
These .pot files don't need to be under version control
2011-07-14 20:52:24 -04:00
Adam
a735095965
Added cs_sync
2011-07-14 20:00:39 -04:00
Adam
ef75e171bc
Added bs_autoassign
2011-07-14 19:11:13 -04:00
Adam
5bf7dee559
Made channel descriptions optional
2011-07-14 18:29:03 -04:00
Adam
f858164dee
Rewrote how commands are handled within Anope.
...
This allows naming commands and having spaces within command names.
2011-07-14 02:31:12 -04:00
Adam
924f6849fe
Bug #1283 - Upped the buffer used for messge replies, as some can be really big
2011-07-10 19:32:10 -04:00
Adam
b5ec57a3f9
Bug #1285 - Fixed setting -P on channels with only a service bot in it
2011-07-10 19:07:45 -04:00
Adam
6d978486cd
Bug #1286 - Dont allow actions to mess up the caps kicker
2011-07-10 18:27:48 -04:00
Adam
d2832b1045
Use getrlimit instead of ulimit, fixes freebsd build
2011-07-07 02:23:11 -04:00
Adam
1a4fc39d7b
Do not send news when a server is syncing
2011-07-06 22:06:07 -04:00
Adam
97388abb99
Fixed /hs set and /hs setall not allowing only a host
2011-07-06 22:05:01 -04:00
Adam
57ec310512
Only call send once per write event in dns manager
2011-07-06 05:20:25 -04:00
Adam
ffd5c045e4
Fixed chanserv/access/modify permission on non-xop channels
2011-07-06 00:33:25 -04:00
Adam
cc3c2b6999
Send account data once an account is confirmed
2011-07-05 01:39:11 -04:00
Adam
c549aa4e76
Bug #1279 - Fixed strftime
2011-07-04 22:39:13 -04:00
Adam
714831b249
Bug #1282
2011-07-04 22:34:21 -04:00
Adam
d6879c4a25
Bug #1280 - Fixed reading some na and bi flags in db_plain
2011-07-04 14:25:13 -04:00
Adam
2caf5868d0
Clean up some of the dns code, udp is connectionless anyway so this isnt required
2011-07-03 00:19:54 -04:00
Adam
c585964e60
Fixed the mode manager from complaining about prefixless modes on insp20
2011-06-27 19:14:30 -04:00
Adam
936a50df23
Fixed build on older cmake versions
2011-06-27 15:35:09 -04:00
Adam
3e9888092a
Fixed mail delay time
2011-06-24 03:40:18 -04:00
Adam
821826a566
The other part of #1277
2011-06-24 02:58:40 -04:00
Adam
7ec803f610
Bug #1277 - Dont send account data for unconfirmed nicks
2011-06-23 15:31:57 -04:00
Adam
b1a075b462
Fixed bug #1276 and some other valgrind warnings
2011-06-23 15:10:50 -04:00
Adam
3be75cbcb3
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2011-06-20 23:28:25 -04:00
Adam
2667f9046e
Cleaned up some of the logger code which fixes not logging debug logs to files etc when debug is enabled, and some other small things
2011-06-20 23:25:46 -04:00
Naram Qashat
2601871391
Fix long-standing issue with the get token functions if the delimiter wasn't found in the string but you wanted the first "token".
2011-06-20 23:09:03 -04:00
Adam
a3d0ab3d09
Use case insensitive matching when looking up servers by name
2011-06-20 23:00:49 -04:00
Adam
a1b36ec0a5
Search all domains for language strings, fixes the mess that we used to use to translate strings in 3rd party modules
2011-06-17 19:57:43 -04:00
Adam
48e995ddf2
Bug #1275 - Don't log absolutely everything sent to operserv, most of its commands already have their own logs
2011-06-17 13:34:47 -04:00
Adam
df971befb2
Fixed a few small things
2011-06-14 18:23:53 -04:00
DukePyrolator
1cd65878db
changed some _() to gtl() and updated do_strftime() and duration()
2011-06-13 18:20:22 +02:00
DukePyrolator
6148ffa669
added a Anope::string::capacity() function
2011-06-12 06:28:22 +02:00
DukePyrolator
717b4c3406
small improvement for Timer::SetSecs()
2011-06-09 06:16:31 +02:00
DukePyrolator
74361bec05
added a Timer::SetSecs() function
2011-06-07 06:16:57 +02:00
Adam
a087e7f664
Fixed clearing bandata
2011-06-05 18:18:50 -04:00
Adam
3ad93a31c9
Burst our channels with the uplink when we connect & fixed bug #1274
2011-06-02 14:59:34 -04:00
Adam
184b346166
Place version.h in build/ not include/
2011-06-02 12:45:08 -04:00
Adam
b2c807dc8c
Fixed /ns alist
2011-05-30 13:14:33 -04:00
Adam
60548aa00b
Fixed ns_update and db_mysql_live sql queries
2011-05-29 19:05:28 -04:00
Adam
a45d1555d3
Added an IsServicesOper event
2011-05-23 14:47:14 -04:00
Adam
121ae0b189
Added m_statusupdate
2011-05-23 13:32:01 -04:00
Adam
8bf8832b70
Rewrote the signal handling to use sigaction
2011-05-23 04:41:51 -04:00
DukePyrolator
4dd7e261f5
fixed a possible crash on database saving
2011-05-22 09:05:21 +02:00
Adam
f4329df11c
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2011-05-21 15:33:10 -04:00
Adam
98729a6c78
Bug #1271
2011-05-21 15:32:47 -04:00
DukePyrolator
742ba970b0
fixed bug #1272
2011-05-21 15:15:46 +02:00
Adam
115f94bfc2
Made Anope able to process normally when disconnected from the uplink and not sleep(), enable usage of non-blocking connect() and default all sockets to non blocking mode. Some cleanup to m_ssl and some cleanup to main.cpp.
2011-05-21 04:57:27 -04:00
Adam
7e5727288d
Fixed compile from the earlier merge
2011-05-19 20:36:39 -04:00
Adam
13915d8b57
Modularized os_news
2011-05-16 04:10:18 -04:00
Adam
9962fae1a1
Calculate nc::channelcount at runtime
2011-05-16 04:10:18 -04:00
Adam
9fcbe293e2
Added os_oper
2011-05-16 04:10:18 -04:00
Adam
fd4b52ec38
Added os_forbid
2011-05-16 04:10:18 -04:00
Adam
b59602abf8
Check for a valid server in /operserv noop
2011-05-16 04:10:18 -04:00
Adam
fd21c36725
Fixed some logic fail in ts6_uid_retrieve
2011-05-16 04:10:18 -04:00
Adam
b999c6ca53
Expand more on m_alias and changed some std::string usage in sockets.cpp to use Anope::string
2011-05-16 04:10:15 -04:00
Adam
583954d3a1
Use module type to determine what type each module is instead of its location in the configuration file.
2011-05-16 04:09:32 -04:00
Adam
8fb1604f64
Fixed reading empty config values in the multiconfig code, caused by removal of DT_CHARPTR
2011-05-16 04:09:07 -04:00
Adam
284af258bf
Added more useful functions to our LDAP API, allow adding newly registered accounts to LDAP, removed some unnecessary OnPre events and fixed unloading all modules
2011-05-16 04:09:07 -04:00
Adam
e7887c1f01
Unmodularized the socket engine because its causing problems and really is unnecessary
2011-05-16 04:08:47 -04:00
Adam
076ebafa1b
Moved some global functions to be member functions and misc cleanup
2011-05-16 04:07:56 -04:00
Adam
6922bd239c
Fixed up the MySQL Query code and finished some command code I forgot earlier
2011-05-16 04:07:30 -04:00
Adam
13aa58ce5d
Removed DT_CHARPTR from the config reader, its unneeded
2011-05-16 04:06:22 -04:00
Adam
c8c23158a4
Moved the core pseudo clients out into their own modules
2011-05-16 04:06:17 -04:00
Adam
1782ce260c
Use std::map instead of unordered_map
2011-05-16 04:01:50 -04:00
Adam
b28d3746f5
Branch for 1.9.5
2011-05-16 04:01:46 -04:00
Adam
469a04e7e0
Anope 1.9.4 Release
2011-05-16 02:58:06 -04:00
Adam
605b5d5717
Removed ngircd as we've decided not to support it at this time
2011-05-16 02:57:28 -04:00
Adam
f7aa46fb33
Note m_async_commands is experimental
2011-05-16 02:47:23 -04:00
Adam
b4450294af
Fixed Windows build
2011-05-15 21:02:06 -04:00
Adam
57327a5e33
Fixed akill log message when there is no expiry time
2011-05-15 19:54:35 -04:00
Adam
4a3c64291f
Fixed sometimes not removing nick masks from the access list when the group is dropped
2011-05-01 18:41:54 -04:00
Adam
036b3c9053
Temporary fix for /os restart with m_async_commands loaded, is fixed properly in 1.9.5
2011-04-29 18:03:04 -04:00
Adam
7da33344d1
Added a unique key for the anope_cs_mlock table
2011-04-28 19:13:44 -04:00
Adam
cbdb9f59f3
Fixed bug #1265
2011-04-27 11:15:02 -04:00
Adam
5d3d6bcead
Fixed a crash if an expiring channel had the founder also on the access list
2011-04-27 09:26:51 -04:00
Adam
0cdc628db0
Fixed crash when certain nicks expire
2011-04-25 15:58:46 -04:00
Adam
4a733c93d4
Don't attempt to connect to the uplink if given invalid hostnames
2011-04-25 04:17:21 -04:00
DukePyrolator
03d2378a9f
resolve hosts when connecting with ssl
2011-04-25 07:08:57 +02:00
Adam
5e027c196d
Two small SQL fixes
2011-04-23 02:36:42 -04:00
Adam
3aeaef5b9a
A few more small fixes
2011-04-20 15:39:44 -04:00
Adam
4d26070a92
This actually isn't necessary
2011-04-20 09:35:09 -04:00
Adam
f601b04594
Fixed logging messages with an empty category to everything
2011-04-19 23:42:16 -04:00
Adam
ca169489b2
Allow unidentified users to still get access by non nickcore access entries
2011-04-18 21:07:54 -04:00
Adam
713c2eb704
Fixed /ns help register reply
2011-04-18 17:09:30 -04:00
Adam
660e0c78ac
Fixed /ns help access
2011-04-17 19:00:01 -04:00
Adam
0862de6577
Fixed the mlock depreciated message
2011-04-16 16:06:52 -04:00
Adam
2cd511d3a3
Fixed botserv kicker logic
2011-04-16 04:35:14 -04:00
Adam
efe5fedde9
Fixed caps kicker
2011-04-15 19:51:34 -04:00
Adam
c8c6845452
Fixed /ns list unconfirmed
2011-04-10 22:05:48 -04:00
Adam
bd62c4891e
Fixed disabling channel levels
2011-04-09 20:52:25 -04:00
Adam
9535541f5a
Fixed setting +r on nick ownership, lost somewhere in revision fbae33
2011-04-06 10:13:03 -04:00
Adam
711a570d24
Run OnCheckAuthentication with the account name if there is one
2011-04-06 09:41:39 -04:00
Adam
cb9ccc443d
Fixed bug #1261
2011-04-05 19:11:23 -04:00
Adam
c681bdd2e3
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2011-04-03 18:23:17 -04:00
Adam
74844c0f28
Use dynamic_reference to check for users being killed from commands
2011-04-03 18:19:29 -04:00
Adam
905207093b
Made LDAP support recover, release, resetpass, etc.
2011-04-03 18:07:58 -04:00
DukePyrolator
73a944fb74
fixed some duplicate messages and updated the german langfile (10% done)
2011-04-03 08:54:40 +02:00
Adam
d1328d876a
Fixed a typo making ns_register crash
2011-04-01 01:57:12 -04:00
Adam
faa85564fc
Removed some unneeded/unused code from m_ldap
2011-03-31 14:41:30 -04:00
Adam
8dec0c1f17
Fixed bug #1258 , more Windows stuff, and more language strings
2011-03-30 23:59:57 -04:00
Adam
8098ed899a
Fixed windows build more, including ldap
2011-03-30 00:55:45 -04:00
Adam
77c98f0750
Regenerated language files.
2011-03-29 14:02:35 -04:00
Adam
8dbdfa9a44
Fixed windows build
2011-03-29 13:43:40 -04:00
Adam
685e99be02
Fixed some left over useprivmsg problems and fixed some compiler warnings.
2011-03-29 13:43:22 -04:00
DukePyrolator
b14b7bd55e
burned all %R and %S in the .po files
2011-03-26 08:44:21 +01:00
DukePyrolator
365769d14c
replaced all %R with %s in the language strings
2011-03-26 08:20:05 +01:00
DukePyrolator
01b901eba1
ignore additional parameters for /chanserv info
2011-03-25 20:56:42 +01:00
DukePyrolator
26de1d9f93
1. when dropping nicks, dont add the dropped nick as successor for a channel 2. set -r on dropped channels
2011-03-25 17:42:13 +01:00
Adam
451fb82e54
Bug #1203
2011-03-22 23:58:53 -04:00
Adam
c02d51f523
Bug #1256
2011-03-22 18:16:05 -04:00
Adam
b95027ba28
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2011-03-16 01:16:15 -04:00
DukePyrolator
5b476a2597
added a description for the HELP command
2011-03-16 06:14:28 +01:00
DukePyrolator
bceeda8087
fixed displaying the RESEND command in /nickserv help output
2011-03-16 05:36:12 +01:00
Adam
ee9636bba2
Fixed some logic fail in User::IsRecognized
2011-03-15 19:23:08 -04:00
Adam
ddfb16de1a
Fixed compile
2011-03-14 20:16:38 -04:00
Charles Kingsley
2555d0d637
Removed include/patricia.h due to oversight in attribution. This breaks compile, please do not use until this is fixed later.
2011-03-14 21:39:53 +00:00
Adam
ed73d76751
Rewrote some of the opertype system, added os_login
2011-03-14 13:52:26 -04:00
Adam
4fe49af840
Fixed a crash in m_ldap is unloaded
2011-03-13 22:59:50 -04:00
Adam
beabbb3a20
When a server quits use its quit reason for all of its links
2011-03-13 19:15:53 -04:00
Adam
b4888c21ed
Fixed a typo in os_stats
2011-03-13 17:20:44 -04:00
Adam
b75fa1c6ec
Fixed a crash in /cs help register
2011-03-13 14:03:02 -04:00
DukePyrolator
3fbf39b25d
Added some useful Anope::Version functions to prevent some files from unnecessarily rebuilding on every make
2011-03-13 03:42:30 -04:00
DukePyrolator
15a833283b
Set the locale to the default system locale on startup
2011-03-13 03:38:42 -04:00
DukePyrolator
5a0d04bb81
fixed a typo in os_news, thanks to Dan for reporting it
2011-03-13 07:09:17 +01:00
DukePyrolator
fbae3344ff
added ns_cert
2011-03-12 09:27:16 +01:00
Adam
95469fde30
Added some access checks to cs_mode and fixed some language strings
2011-03-12 02:40:08 -05:00
Adam
9f46972f19
_()ify Command::SetDesc
2011-03-11 17:26:27 -05:00
Adam
46a3afadb9
Fixed validating users on all server syncs
2011-03-11 17:09:49 -05:00
Adam
1b2f3bf369
Fixed some problems with m_alias and fantasy
2011-03-11 15:10:30 -05:00
Adam
bb3b421385
Global should send logon news
2011-03-11 04:27:32 -05:00
Adam
1ee3d3d810
Added os_config and support for including additional configuration files.
2011-03-11 00:47:28 -05:00
Adam
97c2e0957d
Bug #1251 - Fixed logging inspircd logging us logging inspircd. Also moved the Server::Find messages to debug level 2
2011-03-10 19:20:58 -05:00
Alexander Barton
09a5791bc6
ngIRCd protocol: announce Anope with its version
2011-03-09 12:29:59 -05:00
Adam
8db5ecd736
Fixed sending CHANINFO on ngIRCd with two parameters if the channel has no modes locked.
2011-03-09 12:28:24 -05:00
Adam
e9aa04a8f4
Store mlock in the databases and removed some unused functions from misc.cpp
2011-03-09 01:25:49 -05:00
Adam
8eb23e7d48
Added support for extbans
2011-03-07 19:54:51 -05:00
Adam
093b3d258e
Change the mode name code to use Flags names in preparation for extban support
2011-03-06 19:36:52 -05:00
Adam
48e6221cf0
Expire unconfirmed nicks, forgot to add this earlier..
2011-03-05 22:00:27 -05:00
Adam
ef0c095712
Made m_ldap_oper understand deopering
2011-03-05 18:18:51 -05:00
Adam
a0355dfd9d
Fixed /bs badword del to show what word was deleted
2011-03-05 17:43:51 -05:00
Adam
6fe2d8af97
Removed nickrequests, instead have unconfirmed registrations. Also made ns_resetpass allow remote-id to get past things such as kill immed.
2011-03-05 17:23:22 -05:00
Adam
90e5d0feaa
Added LDAP support
2011-03-04 20:47:58 -05:00
Adam
d79e22bfaa
Updated TODO
2011-03-04 12:50:50 -05:00
Adam
a9fb6bab15
Just use blocking sql queries if m_asynch_commands isn't loaded - it's not that bad.
2011-03-04 02:41:29 -05:00
Adam
dd968c07be
Fixed some logic fail when detecting who should be akicked
2011-03-04 02:19:20 -05:00
Adam
feb81c51d2
Clarify the module dependency messages generated by cmake are non fatal
2011-03-04 02:17:51 -05:00
Adam
aecf675e6b
Fixed os_sqline del
2011-02-27 23:32:07 -05:00
Adam
bcaf406747
Made akills work on IRCds that do not support bans (ngircd)
2011-02-27 16:47:23 -05:00
Adam
f234a2bfab
Replaced the few language strings we use with #defines to prevent accidentally translating them if we shouldnt
2011-02-26 17:54:03 -05:00
Adam
28d17a40ce
Fixed session exception limit of 0 to mean unlimited
2011-02-25 21:41:27 -05:00
Adam
7cfca37e2a
Fixed build on freebsd with precompiled headers
2011-02-25 21:41:18 -05:00
Adam
c38b6392c5
More fixes. Also made db_mysql_live not keep bots updated because thats pointless and made m_asynch_commands respect user language settings.
2011-02-25 21:41:08 -05:00
Adam
ee38756982
Fixed a lot of small problems
2011-02-25 21:40:43 -05:00
Adam
eea7d2eb77
Fixed the first half of #1235
2011-02-22 20:44:47 -05:00
Adam
b15410fd3a
Store modes in the databases told to us during runtime that we don't have information any about. Allows mlocking things like InspIRCds +w etc. Also fixes part of #1235
2011-02-22 20:30:45 -05:00
Adam
c83b2b73d7
Much more work on the live SQL. Should work pretty decently now under heavy load.
2011-02-20 01:05:16 -05:00
Adam
dfbb5264fa
Inspircd does not send CAPAB NOQUIT, assume it
2011-02-19 21:17:53 -05:00
Adam
f49a3e03c1
Fixed aborting because of invalid values given to mode +f on inspircd
2011-02-19 19:03:05 -05:00
Adam
109d1744a0
Update SQL when a nick is deleted
2011-02-18 11:49:52 -05:00
Adam
470f8af97c
Fixed some logic fail when determining when a recognized user gets access
2011-02-18 11:48:29 -05:00
Adam
a1296a3b7c
Changed the OnNickDrop event to call before the nick is deleted
2011-02-18 11:48:20 -05:00
Adam
f38fe242cd
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2011-02-17 14:32:51 -05:00
Adam
536ea2189a
Split db_mysql_live into two modules so other modules can make use of the asynchronous command interface
2011-02-17 14:31:21 -05:00
DukePyrolator
ab0422b4d4
set the vhost before we call ns_ajoin or other modules on identify
2011-02-17 07:00:03 +01:00
Adam
18bd33f9a4
Use precompiled headers when building with gnu g++ to speed up build time
2011-02-16 12:50:23 -05:00
DukePyrolator
d436e4ca4a
added Anope::printf()
2011-02-13 20:06:01 +01:00
Adam
1372dc1953
Removed the Wallop config options and replaced them with the new log system
2011-02-12 16:17:17 -05:00
Adam
9ef7352e69
Merged os_umode into os_mode
2011-02-11 18:30:58 -05:00
Adam
2529ff6dae
Made the help command description code more sane
2011-02-11 03:12:39 -05:00
Adam
7bdf592f7e
Log rawio when in debug mode and fixed expiring session exceptions
2011-02-09 21:54:28 -05:00
Adam
f463b772b0
Removed a lot of the old capab flags we dont/have never used
2011-02-09 20:09:26 -05:00
Adam
eec897762c
Enable quitstorm for ngircd
2011-02-09 17:41:07 -05:00
Adam
f87c665b63
Foward port ebe0ce6610 / b6ab031fc1
2011-02-09 13:31:47 -05:00
Adam
36d3fd1710
Do not crash if a user is introduced with a nonexistant server
2011-02-09 13:25:28 -05:00
Adam
d26a19b41d
Made ./Config output a userful error message if cmake is not found
2011-02-09 01:12:43 -05:00
Adam
a55b3742cb
Removed the LIBINTL include hack
2011-02-05 18:35:20 -05:00
Adam
83556667fd
try/catch-ified all instances of convertTo to keep from aborting when a user gives too large or too small a number
2011-02-04 21:01:33 -05:00
Adam
faf5f3128f
Merge 032c30dd5d
2011-02-04 19:31:02 -05:00
Adam
a53a797271
Replaced all of the old %S's in the language strings that were used for service nicks
2011-02-04 18:32:04 -05:00
Adam
08583dc107
Moved the language strings which are only used once
...
out of the core and into the modules that use them.
2011-02-04 15:30:31 -05:00
Charles Kingsley
c362a1e077
DP in "an user" grammar police mode.
2011-01-29 12:05:34 +00:00
Charles Kingsley
140208e5ee
Another typo pointed out by the grammar police. ;)
2011-01-29 12:00:12 +00:00
Charles Kingsley
679d3c373f
Fixing leftover spaces and other rubbish I missed on the first pass.
2011-01-29 11:58:59 +00:00
Charles Kingsley
557eceeefc
Updated some docs/ & removed TROUBLESHOOTING as it is redundant.
2011-01-29 11:06:38 +00:00
Charles Kingsley
9704ccc8a6
QA fixes / refinements for example.conf
2011-01-29 10:44:27 +00:00
Adam
e62664138b
Added patricia_tree::iterator
2011-01-28 23:09:25 -05:00
Adam
3eadc1509f
Fixed setting usermode +k on our clients on InspIRCd 2.0
2011-01-28 13:19:26 -05:00
lethality
9910aa3cc6
Bug #1237 - only set umode +h on a user joining help chan if they have op access
2011-01-28 00:09:34 +00:00
Adam
2a53e5f80e
Fixed the order queries are done during sqlsync to make the new foreign keys happy
2011-01-24 19:03:15 -05:00
Adam
2e8acfb98c
Fixed some SQL queries
2011-01-24 17:50:34 -05:00
Adam
48fa096943
Added %N for network name in dnsbl:reason
2011-01-24 02:54:09 -05:00
Adam
bf559d788f
Fixed loading forbidden nicks
2011-01-24 01:11:10 -05:00
Adam
3bfc8e9a39
std::stringstream::clear doesn't clear it
2011-01-23 12:56:21 -05:00
Adam
a162f1d18e
Bug #1234 - Fix reading resolv.conf if it has multiple spaces or tabs
2011-01-21 23:01:48 -05:00
lethality
a86873c93e
fixed some minor presentation, grammar mis-use and copyright date in DP's ngircd
2011-01-21 16:49:25 +00:00
Adam
05933e9f21
Removed db-upgrade, its no longer needed
2011-01-20 19:42:27 -05:00
Adam
ab2e34d817
Added options:nomlock
2011-01-19 00:31:18 -05:00
Adam
e7a8bcc30b
Bug #1232 - Fixed db-convert to properly convert mode lock parameters
2011-01-18 18:47:08 -05:00
Adam
34c6c664c9
Added amsg kicker settings to /bs info
2011-01-18 18:41:16 -05:00
DukePyrolator
4a3ee91c55
fixed a bug in the ngircd protocol module
2011-01-18 19:05:20 +01:00
Adam
6f0d1af596
Made db_plain buffer database writes which prevents
...
databases from coming corrupted if we crash or if write
fails. Also fixed loading all ajoin channels.
2011-01-17 20:41:57 -05:00
Adam
01feb5b489
Fixed ns_ajoins list output formatting
2011-01-17 20:29:33 -05:00
Adam
8975b52cc3
Added ns_ajoin
2011-01-17 15:46:53 -05:00
Adam
7acbbbbf5b
Fixed flag names to match 1.9.3s
2011-01-15 21:02:14 -05:00
Adam
4fecafa612
Made db_plain save amsg settings
2011-01-15 16:45:48 -05:00
Adam
a4ded88e85
Made CA_SET always be accessable, even if db-converter messes up levels
2011-01-15 16:29:17 -05:00
Adam
1b6aab0cd7
Fixed /ns confirm's log message to show the nick of who was confirmed
2011-01-15 16:13:31 -05:00
Adam
c669820481
Added an amsg kicker
2011-01-15 16:11:31 -05:00
lethality
ecc2fc6029
Fix CODINGs formatting and a missed typo
2011-01-14 04:50:01 +00:00
Adam
e490202a1b
Bug #1230 - Fixed unknown CTCPs from crashing services
2011-01-11 22:19:46 -05:00
Adam
fd2412a5f6
Send new memo replies to the receiver of the memo
2011-01-10 17:41:09 -05:00
Adam
07528ea8f2
Fixed CanAdd() to use safe iteration and make SNLine::Check really work
...
(cherry picked from commit 1bdadde68a )
2011-01-09 13:38:15 -05:00
Adam
ce8a069eb5
Changed db_mysql_live to use a safer mutex system to prevent deadlocks
2011-01-08 18:55:12 -05:00
Adam
2ba97aee6c
Ignore EINTR error from poll()
2011-01-08 03:35:04 -05:00
DukePyrolator
a674d81caf
updated the README file
2011-01-08 08:38:16 +01:00
DukePyrolator
efb61ed4a8
enabled modeonid in example.conf
2011-01-08 08:21:18 +01:00
DukePyrolator
2e7d08c10b
fixed a small bug in the ratbox protocol module
2011-01-08 08:18:46 +01:00
DukePyrolator
47b87e903b
added support for ngIRCd protocol
2011-01-08 08:15:48 +01:00
Adam
ddeff72544
Process flag changes from SQL
2011-01-08 00:52:46 -05:00
Adam
43995b4c6d
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2011-01-08 00:25:30 -05:00
Adam
512d23d60f
Made the Flag class able to convert flags to strings and back
2011-01-08 00:25:11 -05:00
lethality
0eb9152749
fix some more copyright and typos (not mine) spotted by chaz :P
2011-01-07 23:01:19 +00:00
Adam
4403849126
Added db_mysql_live which allows Anope to pull data
...
from the four main SQL tables in realtime, which
effectively gives us "live" SQL.
Changed eventfd pipe engine to not use buffered write.
Added TryLock to threading engines.
Made blocking SQL queries in our SQL API thread-safe.
2011-01-07 15:57:13 -05:00
lethality
9efebe5461
update copyrights for 2011
2011-01-05 18:34:38 +00:00
DukePyrolator
7198fa73d1
removed SendSVSPart(), we dont use it
2011-01-04 07:33:34 +01:00
DukePyrolator
03ba592c48
removed SendSVSMode(), we dont use it
2011-01-04 07:14:50 +01:00
lethality
57a06f72e2
fixed a crash bug when a server squits
2010-12-31 21:20:34 +00:00
DukePyrolator
3019ba6f43
restoring topic for permchans on burst
2010-12-30 06:44:18 +01:00
DukePyrolator
2784cd17fc
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
2010-12-30 05:50:55 +01:00
Adam
03cc9eb5c5
Assign bots to new empty permanent channels on IRCds without permchannel mode not just join
2010-12-29 23:30:28 -05:00
Adam
72b8f4609b
Use empty SJOINs when allowed to create empty permanent channels
2010-12-29 23:12:26 -05:00
Adam
d36e53f702
Added a ConvertException to be thrown when convertTo fails
2010-12-29 20:19:37 -05:00
Adam
a36f14c1bf
Automatically quit bots when they are deleted
2010-12-29 19:59:26 -05:00
DukePyrolator
292e187524
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
2010-12-29 22:39:20 +01:00
Adam
16cab979da
Bug #1225 - Made REGISTER show in /cs help
2010-12-28 16:32:18 -05:00
DukePyrolator
fd7f542bd9
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
2010-12-28 07:00:47 +01:00
Adam
5ead326454
Fixed build on debian lenny
2010-12-27 15:33:49 -05:00
Adam
a1c635b050
Load session exceptions on start when using SQL
2010-12-27 01:35:08 -05:00
Adam
d896bf9a1c
Bug #1222 - Fixed crash from reading to read a range of memos
2010-12-27 01:00:12 -05:00
Adam
49dd1c3409
Bug #1220 - Fixed an event in /hs activate and /ms del
2010-12-27 00:42:38 -05:00
Adam
fce491e18c
Made socket engine stop processing once all sockets have been checked
2010-12-27 00:41:04 -05:00
Adam
87d0fc8bb5
Fixed poll engine to not reorder sockets if we remove the last socket because there is no need
2010-12-26 20:15:54 -05:00
DukePyrolator
f638d1078a
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
2010-12-26 09:36:45 +01:00
Adam
8af2465a61
Bug #1219 - Correctly restrict people from registering potentential guest names
2010-12-26 00:31:11 -05:00
Adam
1b3f2567bc
Fixed a potential crash from dropping nicks
2010-12-26 00:14:49 -05:00
lethality
036d4514f0
updated crontab instructions in INSTALL
2010-12-25 15:27:02 +00:00
Adam
80721d1873
Forward port part of 821995bf60
2010-12-25 02:30:39 -05:00
Adam
aa9e33cf74
Bug #1216 - Do not apply SQLines on our own clients
2010-12-24 19:55:09 -05:00
Adam
86900175c8
Made clearing SXLines remove the XLine from the IRCd too
2010-12-24 19:07:47 -05:00
Adam
d5c1d6ebec
Do not allow xop del to delete users on another list
2010-12-24 16:12:08 -05:00
Adam
35e328bcb6
Fixed Windows build
2010-12-24 01:23:22 -05:00
Adam
befb4b3644
Made the default socket poller use poll() because it is supported on most platforms
2010-12-24 01:22:07 -05:00
DukePyrolator
4235df2b28
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
2010-12-24 06:42:55 +01:00
Adam
a6c8a6a9f2
Prevent version.cpp from prepending version.sh's VERSION_EXTRA on every build
2010-12-23 23:33:02 -05:00
Adam
1a3ba00c24
Fixed noexpire channels expiring
2010-12-23 21:56:06 -05:00
Adam
e8a2072792
Added a missing os_ignore.h
2010-12-23 19:18:25 -05:00
Adam
4886b56edb
Fixed a crash in m_alias
2010-12-23 19:14:07 -05:00
Adam
15d29edae9
Do not clear want write on a socket if we are unable to completely write its buffer
2010-12-23 18:50:27 -05:00
Adam
3009540a00
Rewrote the ignore code. Adds creator and reason to /os ignore list.
2010-12-23 18:39:54 -05:00
DukePyrolator
a0ad3c4fef
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
2010-12-23 07:15:32 +01:00
Adam
265006b691
Fixed deleting expired SXLines
2010-12-23 00:03:50 -05:00
Adam
11b3b8a5ff
Made SQLine clear work
2010-12-22 19:12:04 -05:00
Adam
2783c82685
Removed match_usermask
2010-12-22 18:28:22 -05:00
DukePyrolator
184e7b3f64
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
2010-12-22 07:05:40 +01:00
Adam
18377ac9fd
Allow hostmasks to be in uplink:host
2010-12-21 15:57:57 -05:00
DukePyrolator
184e14ea83
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
2010-12-19 08:56:31 +01:00
Adam
21125cf2cb
Made the version generator code work right when we are on a tag because git describe just gives the tag name and nothing else.
2010-12-18 19:53:32 -05:00
Adam
0d20c47703
Don't send SXLines until after we start bursting with our uplink
2010-12-18 19:41:13 -05:00
Adam
7f9a5e01c6
NULL the core *serv pointers when core clients are deleted
2010-12-17 03:09:51 -05:00
Adam
eb9b12ed11
Bug #1211 - Fixed loading and saving anope_os_sxlines
2010-12-15 12:47:35 -05:00
Adam
4a4c0886cc
Bug #1212 - Fixed some bad logic in /os exception preventing valid exceptions from being added
2010-12-15 12:18:20 -05:00
DukePyrolator
02476332ea
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
2010-12-14 08:13:09 +01:00
Adam
49d3c97b67
Bug #1079 - Don't use users real host and IPs when matching against
...
bans and excepts, except when a user is unbanning themselves, in an
attempt to prevent people from gaining other users IPs.
This removes support for Unreal and Bahamuts SVSMode -b because
it will unban users by real host and IP.
2010-12-13 16:36:36 -05:00
Adam
97467cb2c8
Bug #1113 - Document the fantasy character in /bs help
2010-12-13 13:26:01 -05:00
DukePyrolator
6a43886807
removed an unused variable
2010-12-13 07:34:06 +01:00
DukePyrolator
5d56a2486e
changed a few 'if' to 'else if'
2010-12-13 07:26:05 +01:00
Adam
eb138a02d6
Do not validate users during netburst until after the server is done syncing
2010-12-12 19:37:04 -05:00
Adam
2a4d0e3e89
Allow getting users opertype from XMLRPC requests
2010-12-12 19:37:04 -05:00
Adam
9f7a2e4da2
Bug #1177 - Readded in support for cs_mode to act on every channel
2010-12-12 19:37:04 -05:00
Adam
25e995b0f5
Fixed a few places in the plexus protocol module where we were sending nick not UID
2010-12-12 19:37:04 -05:00
Adam
ad5da2a988
Handle not being able to completely flush our write buffer correctly
2010-12-12 19:37:03 -05:00
DukePyrolator
6ab7cf9689
fixed a compile error in plexus protocol module
2010-12-12 19:37:03 -05:00
DukePyrolator
099ead02a5
store the ssl fingerprint in the userstruct
2010-12-12 19:37:03 -05:00
Adam
f1d04a2f8e
Allow command aliases to be redirected to different pseudo clients
2010-12-12 19:37:03 -05:00
Adam
aed53dbb47
Cleaned up some things, made the protocol modules use some basic inheritance to cut back on their code duplication. More work can be done in the future to remove even more of it.
2010-12-12 19:37:03 -05:00
Adam
a507816701
Fixed looking up users to use case insensitivity
2010-12-12 19:37:03 -05:00
Adam
c41c828574
Do not use wildcard matching when looking up hosts on access add/del
2010-12-12 19:37:03 -05:00
Adam
5fe41fb8a0
Document that /cs owner and deowner allow nick args
2010-12-12 19:37:02 -05:00
Adam
0ba566491e
Allowing adding hostmasks to channel access lists
2010-12-12 19:37:02 -05:00
Adam
2a4d57a1ca
Fixed subcommands
2010-12-12 19:37:02 -05:00
Adam
71c433cc50
The rest of the earlier command changes
2010-12-12 19:37:00 -05:00
Adam
2b10cc84ea
Added /bs set msg
2010-12-12 19:36:19 -05:00
Adam
cb6ef574e3
Send replies from fantasy commands back to the channel, this will be expanded on later
2010-12-12 19:36:19 -05:00
Adam
37e02a3594
Added cs_entrymsg
2010-12-12 19:36:19 -05:00
Adam
7d1cfe9514
Fixed some sed failure
2010-12-12 19:36:18 -05:00
Adam
9870ee04dd
Removed some unused code paths in some of the modules
2010-12-12 19:36:18 -05:00
Adam
1a286397e3
Added a plexus3 protocol module
2010-12-12 19:36:16 -05:00
Adam
697dc89382
Added a default expiry time for suspended and forbidden nicks and channels
2010-12-12 19:36:01 -05:00
Adam
4d342d955d
Fixed some of the language strings
2010-12-12 19:35:58 -05:00
Adam
c5eb349d41
Removed the AUTODEOP level, it is unnecessary now because of cs_mode
2010-12-12 19:35:30 -05:00
Adam
7790a7f98c
Allow the patricia tree to store non-pointers
2010-12-12 19:35:30 -05:00
Adam
246f44b988
Added cs_mode, rewrote the old list mode code, and added CIDR support
2010-12-12 19:35:27 -05:00
Adam
a85112172d
Removed and deprecated /cs set mlock, removed /cs clear, removed /os clearmodes, removed /cs akick (un)stick, added /cs clearusers
2010-12-12 19:33:59 -05:00
Adam
5f18cb018d
Allow users to drop their own nickrequests
2010-12-12 19:33:58 -05:00
Adam
872bc3fa5e
Allow users to remove their own access in channels
2010-12-12 19:33:58 -05:00
Adam
1625a5af0c
Added /chanserv clone command
2010-12-12 19:33:58 -05:00
Adam
2e9a632e14
Allow akill/szline/sqline to accept user names as a mask argument
2010-12-12 19:33:58 -05:00
Adam
3c9d4e9daf
Added command aliases
2010-12-12 19:33:58 -05:00
Adam
c792c7f62d
Switched the system for storing users, channels, and sesions to a patricia
...
tree from STL's unordered_map, which was giving horrible performance.
2010-12-12 19:33:58 -05:00
Adam
e512760364
Fixed DNS caching and made DNS cache empty results
2010-12-12 19:33:50 -05:00
Adam
ac41137ce2
Added /ms ignore
2010-12-12 19:31:00 -05:00
Adam
28aba58e25
Just store lang strings in a char array, no need for the extra overhead of STL strings
2010-12-12 19:30:28 -05:00
Adam
4ec661c0bb
If a channel drops because a nick drops, set the channel founder to the user with the highest access if there is no successor
2010-12-12 19:30:14 -05:00
Adam
87bdf73cb7
Document XMLRPC calls and added a .php class wrapper for them
2010-12-12 19:30:14 -05:00
Adam
21c8e89671
Do not allow ghosting unidentified users if the recover command exists
2010-12-12 19:30:14 -05:00
Adam
8fbe36635c
Added m_xmlrpc and m_xmlrpc main, which allows remote programs to execute
...
remote RPC calls to Anope in realtime and receive responses
2010-12-12 19:30:14 -05:00
Adam
5cd4fefb4c
Bump for 1.9.4-git
2010-12-12 19:30:11 -05:00
Adam
82e588a790
Anope 1.9.3 Release
2010-12-12 18:42:14 -05:00
Adam
7b7301eeff
Made ./Config with a .git directory work ok if we are on a git tag
2010-12-12 18:40:04 -05:00
Adam
70d65376b7
Updated version.log
2010-12-12 17:58:19 -05:00
Adam
af8cf445b8
Made version.cpp ok with an empty VERSION_EXTRA
2010-12-12 17:58:09 -05:00
Adam
be4ec3c0c4
Updated docs/WIN32.txt with instructions on how to get the libraries to build with gettext, ssl, and mysql
2010-12-12 16:54:46 -05:00
Adam
587e5d9421
Fixed build on cmake 2.4.x
2010-12-09 19:58:41 -05:00
Adam
35f03811e8
Fixed clearing entries from the bandata cache
2010-12-01 15:50:56 -05:00
Adam
14e396baf7
Fixed /ns set display
2010-11-29 19:20:26 -05:00
Adam
ba01e7a3bb
Fixed /ns help saset autoop reply
2010-11-27 00:07:48 -06:00
Adam
52d9ed428f
Fixed handling pings and ctcps to channels
2010-11-25 22:59:39 -06:00
Adam
8f825821e0
Fixed sending operwalls on ratbox
2010-11-22 13:10:14 -06:00
Adam
d1ba920729
Fixed replacing %R with /msg on non gettext builds
2010-11-21 20:36:46 -06:00
Adam
56b269e6b3
Merge branch '1.9' of git.sigterm.info:gitroot/anope/anope into 1.9
2010-11-21 20:05:48 -06:00
Adam
7e03427272
Fixed some language string names
2010-11-21 20:05:37 -06:00
Adam
72ab27af76
Introduce our clients with umode +q on Unreal so they can't be kicked
2010-11-21 18:55:52 -05:00
Adam
3445f4d680
Fixed parsing cidr masks
2010-11-19 14:16:42 -05:00
Adam
aab915f2e9
Fixed some mysql queries
2010-11-18 21:34:38 -05:00
Adam
27652144ec
Fixed the mlock events to be useful and fixed /cs access view's last used time
2010-11-17 19:59:23 -05:00
Adam
4f8dfc2132
Delete users and channels from the modestacker when they are destructed
2010-11-14 17:34:17 -05:00
Adam
4415a779a3
Fixed ban and kick from showing up twice in /cs help
2010-11-14 12:44:34 -05:00
Adam
8662b0989e
Removed an unused variable
2010-11-11 19:49:00 -05:00
Adam
12c5314863
Fixed possible unsafe iteration when purging dns cache, and fixed the dns cache to not expire all of the records for specific hosts if the records have different TTLs
...
(cherry picked from commit 736df4bd98b952aad459fdf7914735e88f97c4b2)
2010-11-11 19:34:23 -05:00
Adam
0d2db1f9f9
Fixed DNS caching and made DNS cache empty results
...
(cherry picked from commit 438ae629e51b519d0d5f70531d0262be1b9fe2bc)
2010-11-09 15:04:28 -05:00
Adam
fe6d7913ce
Fixed a crash in the DNS engine when using cached results
2010-11-09 03:20:50 -05:00
Adam
dc1252597a
Removed two primary keys on some metadata tables, they should not have them
2010-11-07 20:55:30 -05:00
Adam
721ef7d345
Fixed the OnPostCommand event overload in db_mysql
2010-11-07 18:06:02 -05:00
Adam
5209e73995
Updated version.log
2010-11-06 04:24:46 -04:00
Adam
07e2ec0fa7
Regenerated lang files
2010-11-06 04:24:27 -04:00
Adam
f5d20579ee
Fixed /ms sendall syntax error message
2010-11-05 03:34:44 -04:00
Adam
cbd0f52eff
Made Base not virtual, prevents us from having to dynamic cast in the mode stacker on release builds
2010-11-04 00:36:53 -04:00
Adam
4fb4858952
Fixed anopesmtp. Again. It works on Windows now
2010-11-02 00:58:24 -04:00
Adam
477ff30cec
Fixed calculate_depends again, now it works
2010-11-01 18:43:46 -04:00
Adam
daa97f0343
Fixed make install because Changes.lang is dead
2010-11-01 17:36:30 -04:00
Adam
3edc6d70b9
Fixed building anopesmtp on Windows, fixed some cmake problems with calculate_depends, and fixed building without gettext
2010-11-01 16:07:18 -04:00
Adam
9db85375ee
Made ns_set_misc work
2010-10-31 21:46:23 -04:00
Adam
e3f368f67b
Fixed replacing %R's in email messages and fixed anopesmtp to really work
2010-10-31 20:47:34 -04:00
Adam
2170823059
Updated Changes
2010-10-31 13:37:31 -04:00
Adam
011582ff3c
Fixed bug #1197 - Store vhosts in MySQL
2010-10-31 13:03:10 -04:00
Adam
98bdd9749a
Fixed build on cmake2.6
2010-10-30 20:12:52 -04:00
Adam
cd21bd758c
Updated TODO
2010-10-30 19:49:09 -04:00
Adam
fb9f41b3e5
Made gettext work on most OSs. Tested on Debian, FreeBSD, Gentoo, and Windows.
...
Added a search path option to the Config script for cmake to use when finding libraries for modules or for gettext.
Fixed m_mysql and m_ssl to work under Windows, made the Windows Config
program remember the last used options, and fixed Windows release builds.
2010-10-30 19:41:13 -04:00
Adam
a7e5d51616
Removed the example anope_commands php code, it was removed in favor of xmlrpc
2010-10-29 20:53:34 -04:00
Adam
b8df88a1bc
Made gettext work on Debian and updated some documentation
2010-10-28 16:25:33 -04:00
DukePyrolator
257fb256e9
removed an extra space from db-convert
2010-10-28 07:31:59 +02:00
DukePyrolator
8ff0b0ed99
do not store memo numbers on db-convert
2010-10-28 07:14:49 +02:00
Adam
180aa6b67b
Removed memo number from databases. Since we already have db-upgrade we might as well make that update memos too.
...
Users using the top of git will need to run sed -i 's/MD MI [0-9]* /MD MI /' anope.db on their database.
2010-10-27 23:02:20 -04:00
Adam
a26f119bc8
Do not store memo number in memo structs, fixes some bugs with deleting memos
2010-10-27 22:29:34 -04:00
Adam
a79da4bba1
Modules to not need to include libintl.h because they are not linked to libintl and do not directly call its code. #define _(x) to x just so xgettext is able to pick out language strings.
2010-10-26 22:02:08 -04:00
Adam
09160d1289
Fixed Windows build with gettext
2010-10-26 20:14:39 -04:00
Adam
1d931401cd
Fixed the other half of bug #1200
2010-10-24 13:46:56 -04:00
Adam
bd7b6b16ec
Fixed bug #1200
2010-10-24 12:56:20 -04:00
Adam
ec5fa9e63e
Made the language system still work even if the locales are not installed on the system
2010-10-23 16:12:15 -04:00
Adam
7e47b97740
Fixed a crash on some usages of /cs akick view
2010-10-23 03:10:15 -04:00
Adam
1bd975b90e
Fixed a crash on inspircd if we get a join without a TS
2010-10-23 02:40:46 -04:00
Adam
eb8f3a799c
Fixed some Windows problems
2010-10-22 04:20:34 -04:00
Adam
791c2b89a5
Changed the log:normal config directive to a list like the other log values, and fixed a potential crash from rehashing while sending mail
2010-10-21 23:20:48 -04:00
Adam
4f317a2421
Made /cs help levels desc not case sensitive
2010-10-16 17:46:56 -04:00
Adam
f3c2933542
Fixed an wrong logging example in example.conf and fixed misc messages being not logged as normal
2010-10-15 13:25:14 -04:00
Adam
4ddb469864
Added ns_set_hide to the example configuration, for some reason it was missing
2010-10-13 18:46:25 -04:00
Adam
d24e810262
Fixed mlock, broken since revision cf98cd3e06
2010-10-13 15:09:19 -04:00
Adam
bc812eeb03
Fixed a crash if an invalid expiry time is given to a number of commands
2010-10-13 14:46:53 -04:00
Adam
5e9db23883
Fixed saset noexpire to set noexpire on the nick it is used on not just the display name
2010-10-13 14:33:27 -04:00
Adam
c4075c032e
Changed cs/ns_set_misc operonly config directive to better reflect what it really does
2010-10-13 13:25:34 -04:00
Adam
dc0c07b408
Made the SQL tables use foriegn keys and references to each other, removed many now unnecessary queries from db_mysql
2010-10-12 21:43:39 -04:00
Adam
afb55a1842
Fixed Windows again
2010-10-11 19:21:59 -04:00
Adam
d7aa5f6a3a
Fixed Windows build
2010-10-11 18:47:54 -04:00
Adam
717c123441
Fixed some warnings
2010-10-11 15:37:39 -04:00
Adam
0ac77d0e42
Fixed a crash in the dns engine if we receive a reply after a request has timedout
2010-10-09 20:02:19 -04:00
Adam
5ca2df1edb
Fixed bug #1196 - truncate anope_extra before flushing data into it again
2010-10-09 12:22:55 -04:00
Adam
b3dd5668f6
Set +P on mlock when channels are set as persistant
2010-10-08 16:21:23 -04:00
Adam
63b1f9ce88
Do not join our clients to enforce TS if they are already in the channel
2010-10-08 16:16:11 -04:00
Adam
d5e6bd8391
Fixed a crash on insp12 if we receeve a part without a reason
2010-10-08 16:03:48 -04:00
Adam
7e62fcf4b3
Fixed handling fmodes on inspircd12
2010-10-08 15:59:26 -04:00
Adam
21a61f162e
Fixed a crash if the dns engine is unable to add questions into DNS packets
2010-10-07 21:27:32 -04:00
Adam
7df71750cb
Log the kicker as the source of kicking log messages, not the target
2010-10-07 18:25:24 -04:00
Adam
b4f675adcf
Do now show topics being set by UIDs on TS6 IRCds
2010-10-07 16:02:23 -04:00
DukePyrolator
5298107ae8
fixed internally setting +o on OPERTYPE
2010-10-07 14:17:20 +02:00
Adam
7f4362138a
Made nickserv:nogroupchange work
2010-10-06 21:47:01 -04:00
Adam
4da258ff78
Added lang/unused.sh, used to find unused language strings. Also removed a lot of unused language strings.
2010-10-06 20:36:08 -04:00
Adam
9ab50eedf2
Fixed restarting Anope when it is started from outside of the services binary dir
2010-10-05 19:46:33 -04:00
Adam
64a3bda235
Fixed two types in db_mysql
2010-10-05 16:25:52 -04:00
Adam
acec166702
Use safe iteration when deleting servers off of hubs
2010-10-05 16:16:39 -04:00
Adam
00ed18b421
Updated docs and TODO
2010-10-05 02:11:14 -04:00
Adam
10833f9d3f
Made anoperc stop/restart send the cycleonglobal, and fixed logfiles to be opened with append not truncate
2010-10-04 21:46:15 -04:00
Adam
592060ac75
Attempt to write back the old mlock to the databases if we try and fail to connect to the uplink. Because we may not know modes until after we are synced we could accidentally nuke all of the mlocks
2010-10-04 18:57:54 -04:00
Adam
92338c13b8
Fixed /ns set password/display and made saset not log the new password on saset password
2010-10-04 17:36:53 -04:00
Adam
3fa2659309
Ignore the EINTR error from epoll_wait, it isnt always a real error
2010-10-04 16:57:11 -04:00
Adam
58a3e2bbb7
Allow reloading of the protocol module with /operserv modreload
2010-10-04 16:54:39 -04:00
Adam
ab5ebc2245
Automatically destruct messages when modules are unloaded
2010-10-04 16:38:25 -04:00
Adam
cf98cd3e06
Changed the protocol handling system to use a vector of strings instead of C style arrays. Burned the old process/split_buf/memory.c code
2010-10-04 13:59:30 -04:00
Adam
632f8df76b
Fixed checking the global block in the config to work ok, fixed having non-core service bots logging messages, fixed setting the topic to the topic setter on inspircd12/20, and fixed logging status mode changes on ts6 ircds
2010-10-03 15:59:19 -04:00
Adam
663a8b9a1c
Updated language files
2010-10-02 21:10:27 -04:00
Adam
90f0a7c92a
Added os_modreload. Also allow unloading database and encryption modules since there isn't a reason we cant allow reloading them. Soon os_modreload will allow reloading the protocol modules.
2010-10-02 21:09:11 -04:00
Adam
0d684191e9
Made os_news send news notices from NickServ if global is disabled
2010-10-02 16:43:24 -04:00
Adam
3499edc427
Replaced globalnick and globaldescription with just nick and description, since it's in its own block now
2010-10-02 16:11:58 -04:00
Adam
8a0cf62d70
Set the botmodes on bots in the log channel(s) when using ircds that have dynamic modes
2010-10-02 15:24:00 -04:00
Adam
59f35732f6
Made entry_match work once again
2010-10-02 15:24:00 -04:00
Adam
76b10625d9
Fixed cs_invite to send the invite notice to the person invited
2010-10-02 15:24:00 -04:00
Adam
b0070bbd3b
Made ChanServ optional
2010-10-02 15:23:55 -04:00
Adam
0a8bb88085
Made OperServ and Global optional
2010-10-02 03:08:29 -04:00
Adam
a62d824cb4
Made MemoServ optional
2010-10-02 00:07:39 -04:00
Adam
e3afb119b9
Fixed pipe and win32 socketengine builds
2010-10-01 21:45:46 -04:00
Adam
d44f7971b1
Rewrote some of the socket code to allow m_ssl to be a service.
...
This allows modules (xmlrpc) to create and accept SSL connections.
Also fixed unloading m_mysql at certain times and made the threading
engine always work correctly on Windows.
2010-10-01 21:01:49 -04:00
Adam
70056dd468
Merge branch '1.9' of anope.git.sf.net:/gitroot/anope/anope into 1.9
2010-10-01 20:25:55 -04:00
Adam
5d9df2bdc1
Revert "Do not use new/delete to allocate modules, allows modules to always destruct properly and automatically"
...
This does not work as expected, it causes objects allocated by modules to be freed by the operating system when
the module is unloaded, giving no chance to the module to deallocate it itself.
This reverts commit 05e6815d91 .
2010-10-01 20:24:25 -04:00
Adam
9d2ef3f130
Allow OnPreConnect to kill users correctly and made session/xline exempt users not bypass the OnConnect event
2010-09-29 14:02:17 -04:00
Adam
6ca09be663
Cleaned up some unused code, moved handling of user modes around so we dont get log messages about user modes when users connect, and fixed tracking some umodes on Unreal
2010-09-27 17:02:36 -04:00
Naram Qashat
7db5e19f74
Partial fix for finding gettext with CMake, still doesn't fix the lack of finding non-standard paths though.
2010-09-26 15:35:24 -04:00
Adam
f3840ed110
Added a short docs/LANGUAGES file explaining how to add translations for the core and modules, updated TODO, and fixed a few small bugs
2010-09-26 15:09:39 -04:00
Adam
7d5893a1c8
Properly detect gettext and dont build langfiles on systems without it
2010-09-26 03:21:00 -04:00
Adam
d646d455e2
Changed the language system to use gettext
2010-09-26 02:33:01 -04:00
Adam
05e6815d91
Do not use new/delete to allocate modules, allows modules to always destruct properly and automatically
2010-09-22 14:56:43 -04:00
Adam
3459206980
Fixed some problems with cycling logfiles
2010-09-21 01:20:28 -04:00
Adam
6f707920ff
Fixed log messages from when a user quits or gets killed
2010-09-19 17:41:50 -04:00
Adam
ce69f294a1
Added configuration for m_dnsbl for what return values get banned
2010-09-19 17:21:08 -04:00
Adam
f8ee95ef98
Added some more variable fields for dnsbl akill reasons
2010-09-19 16:20:56 -04:00
Adam
1e3d2f3739
Fixed /os modinfo command output
2010-09-19 16:08:21 -04:00
Adam
aa9ab7c6db
Keep users +r on InspIRCd if their account name matches their login name
2010-09-19 16:06:22 -04:00
Adam
22f2b25f97
Fixed joining chanserv enforcers to unregistered channels
2010-09-19 12:42:08 -04:00
Adam
ebd2997b79
DNSSocket doesn't need to save the server addr anymore
2010-09-18 17:27:58 -04:00
lethality
06faf6affc
Fixed bug #1191
2010-09-18 03:36:44 +01:00
lethality
5ec605e424
Fixed some minor punctuation and logging
2010-09-18 03:35:33 +01:00
Adam
227909e2cf
Rejig of some of the socket stuff. Fixed marking sockets as nonblocking on Windows. Added in a LastError function to keep having to use strerror/GetLastError everywhere.
2010-09-17 19:20:07 -04:00
Adam
f71fb6e813
Connect using nonblocking sockets
2010-09-17 17:22:14 -04:00
Adam
74566d869a
Fixed bug #1190 and prevent m_dnsbl from akilling a user multiple times if they are in multiple blacklists
2010-09-17 14:32:46 -04:00
Adam
61e7564633
Fixed connecting back to the nameserver if we lose connection, and detecting the nameserver
2010-09-16 22:21:55 -04:00
Adam
86c1dab286
Fixed many bugs and crashes
2010-09-16 21:16:20 -04:00
Adam
cd1e9f3181
Fixed Anope::CurTime to really work, and made ChanServ timers allow using the channels botserv bot instead of only ChanServ
2010-09-16 18:12:12 -04:00
Adam
ccc6109879
Fixed crash on setting XOP on
2010-09-16 12:41:17 -04:00
Adam
8131851058
Rewrote all of the topic code, fixes a few topic related problems on some older IRCds
2010-09-15 16:40:55 -04:00
Adam
6239b5a053
Give DNS requests an error when their creator is being unloaded instead of just deleting them, and fixed a compile warning
2010-09-14 19:31:22 -04:00
Adam
e7ac33fd62
Cleanup DNS requests when modules are unloaded, fixes unloading m_dnsbl during the middle of queries
2010-09-14 18:24:14 -04:00
Adam
630f3815ce
Added a config option to make operserv not add users found in the dsnbl to the akill list
2010-09-14 16:12:47 -04:00
Adam
4da2af64ec
Updated a bit of the README that was out of date
2010-09-12 04:06:08 -04:00
Adam
22b9da7f1d
Fixed a typo in the epoll socket engine with clearing events
2010-09-12 01:37:32 -04:00
Adam
47872e53ed
Removed the --log command line option because its no longer necessary, and updated example.conf
2010-09-12 00:02:22 -04:00
Adam
e30370af10
Allow identifying to other accounts using /nickserv id account pass
2010-09-11 22:47:36 -04:00
Adam
89c5b203c3
Updated TODO
2010-09-11 16:11:37 -04:00
Adam
f00e76d30a
Added Anope::CurTime to keep us from calling time() everywhere
2010-09-10 20:31:31 -04:00
Adam
9eb7562bee
Fixed bug #1187 - Fixed releasing enforcer clients on TS6 IRCds
2010-09-10 15:46:19 -04:00
Adam
46813ccb8c
Added an asynchronous DNS system and m_dnsbl, which checks clients against DNS blacklists.
...
Rewrote internal handling of IPs, we now properly support users using IPv6.
Fixed a few problems with the UnrealIRCd protocol module.
2010-09-09 23:43:11 -04:00
DukePyrolator
fdd196e50b
fixed cs_unban on inspircd 1.2 and 2.0
2010-09-09 18:29:22 +02:00
Adam
7a522d1c34
Only look up session exceptions if the user exceeds the session limit, really send akills for exceeding session limits, and fixed os akill del to really work
2010-09-01 21:01:52 -04:00
Adam
f276927365
Redo some of the sighandling code, and made anoperc rehash actually work.
2010-08-29 19:28:04 -04:00
Adam
d70f1a43bc
Removed a duplicate log message when a user changes nick
2010-08-28 23:17:52 -04:00
Adam
4319319f97
Burst back our juped servers if we disconnect
2010-08-28 23:17:33 -04:00
Adam
e820e1af0d
Properly store our clients internal channel status's and burst them if needed.
...
Also made Flag::HasFlag use test() instead of operator[] to catch errors, and fixed an out of bounds access to a
Flags
bitset causing crashes on some systems.
2010-08-28 20:56:45 -04:00
Adam
26ba944d55
Allow unidentified users to use sendpass and resetpasss if configured properly
2010-08-28 13:58:23 -04:00
Naram Qashat
4cc6604326
Changed Channel's BanData C-style linked list to std::list, got rid of shadowed variables in channels.cpp.
2010-08-28 11:00:02 -04:00
Adam
5fbe0c845c
Clean up some of the old now unused IRCDVar struct vars, and made the logchan bots join if the IRCd requires them to
2010-08-28 02:25:33 -04:00
Adam
2aac8b05ef
Fixed two typos in example.conf
2010-08-28 00:16:12 -04:00
Adam
10d901084f
Do not log RAWIO messages to services log channels, added a config option on whether or not to join bots to the log channels, and fixed two log messages in ns_identify
2010-08-28 00:14:06 -04:00
Adam
334e5a4ef9
Removed options:keeplogs because its no longer used
2010-08-27 23:05:22 -04:00
Adam
56045afda2
Removed some problematic IsRecognized checks in ms_cancel and ms_check, and fixed a variable name in logger.cpp to make clang happy
2010-08-27 21:30:16 -04:00
Adam
c2ddecc2b1
Added a new logging system
2010-08-27 20:56:28 -04:00
Adam
73fb94c553
Added an Anope::string::is_pos_number_only function to use everywhere we convertTo unsigned values, and
...
fixed the mail delay error message to give the correct time.
2010-08-27 13:44:30 -04:00
Adam
ea9b945830
Internally ULine our server, and fixed a user count check for botserv when setting -P on channels
2010-08-24 21:34:08 -04:00
Adam
2803190255
Made Config ask what version of Visual Studio you are using so cmake can generate the correct files
2010-08-22 12:56:31 -04:00
Adam
f20512c849
Use pipe() instead of pipe2() - some systems dont have pipe2()
2010-08-22 12:23:43 -04:00
Adam
ada65a3baf
Added a classbase for the major classes, makes dynamic_reference invalidation really work.
...
This also cleans up a bit of the code in the modestacker.
2010-08-22 00:34:02 -04:00
Adam
8a4c6ae618
Updated .gitignore and removed the rest of the old autotools system
2010-08-21 19:39:54 -04:00
Naram Qashat
88d3338fdd
Better check for eventfd.
2010-08-21 18:52:12 -04:00
Charles Kingsley
32c31f25ec
Change default encryption module to enc_md5
2010-08-21 09:15:42 +01:00
Adam
6608f16b7d
Removed Config.bat and install.js and replaced it with a small C# program that tends to fail less.
2010-08-21 03:47:01 -04:00
Adam
fb551f0d5d
Made Anope keep track of channels its clients are in if it splits from its uplink, then burst them back to its uplink once connection is reestablished.
...
Also made Anope use TS enforcement to change persistant channels creation time to the time they were registered.
2010-08-21 01:40:36 -04:00
Adam
931b0777fb
Changed the svid system back to using user timestamps for IRCds limited to just usermode +d. This allows us to keep people logged in once again when Anope is restarted.
2010-08-19 16:27:38 -04:00
Adam
b180d5f975
Always unload socketengines/database/protocl etc modules last, and fixed a potential crash in m_mysql when unloading when not in GDB
2010-08-17 22:19:36 -04:00
Adam
fa7684b3a3
Fixed a few SQL queries
2010-08-17 20:54:06 -04:00
Adam
e65d8b2f3d
Rewrote the config reader to better handle invalid configs.
...
This prevents Anope from exploding when /os reload has errors.
2010-08-17 19:27:37 -04:00
Adam
2575008baa
Fixed part of the Windows build.
...
The SQL modules still don't build due to some weird VS bug... will fix it later.
2010-08-16 23:33:03 -04:00
Adam
5fb10d27de
Changed a few small things in the db format because it already changed anyway, bumped DB version to 2
2010-08-15 19:53:06 -04:00
Adam
de8eeab2d9
Fixed persist to work correctly with the new bot tracking system
2010-08-15 17:15:15 -04:00
Adam
c2a97d9f3f
Cleanup of various different crashes/inconsistancies
2010-08-15 14:08:05 -04:00
Adam
a950ed8cab
Rewrote the MySQL API to use threads. This acts similar to before, but is faster. Removed db_mysql_execute for now.
2010-08-15 01:45:38 -04:00
lethality
4d0a1aaabd
Fixed some chanserv help set/saset replies
2010-08-14 14:16:21 +01:00
Adam
c24ec06861
And fixed /bs info to show the correct chancount
2010-08-13 18:52:48 -04:00
Adam
d4c7f67b58
Readded in BotInfo::chancount, it never should have been removed in the first place
2010-08-13 18:45:50 -04:00
Naram Qashat
d05afb3ca3
Fix an error in db-upgrade on sha256 encrypted passwords.
2010-08-08 22:30:00 -04:00
Naram Qashat
bbff5ae4d3
Add a db-upgrade to convert base64-encoded encrypted passwords to hexadecimal strings of the raw data, add in Anope::Hex for C-style strings and added Anope::Unhex, modified the encryption modules to use Hex and Unhex.
2010-08-08 21:53:32 -04:00
Naram Qashat
de7643a14f
Update TODO, and minor change to enc_md5 (no, it doesn't fix encryption with 1.9 git yet, I'll get to that eventually)
2010-08-05 21:05:06 -04:00
Naram Qashat
46e88e3595
Remove need to have a dynmaically allocated C-string in enc_sha1, it was being made too big (by the default config PassLen of 32) anyways.
2010-08-04 22:05:45 -04:00
Naram Qashat
f78243b6b1
Also fix enc_old using the previous commit's fix.
2010-08-04 21:51:48 -04:00
Naram Qashat
9da927889f
Fix enc_md5 to work with the way the new b64_encode does things with Anope::string, by making sure that the string is null terminated properly.
2010-08-04 21:48:40 -04:00
Naram Qashat
8703afe116
Add a delimiter argument to BuildStringList and BuildStringVector, and use it with str_is_ip and str_is_cidr to better fix the earlier crash bug found by Cronus.
2010-08-04 18:01:45 -04:00
Adam
9696118ff5
Fixed enc_old, it has been broken since revision ae38212c1c
2010-08-03 18:02:16 -04:00
Adam
263f69a40e
Fixed enc_md5, it has been broken since revision ae38212c1c
2010-08-03 16:59:24 -04:00
Naram Qashat
a659f82814
Fix str_is_ip() and str_is_cidr(), bug found by Cronus.
2010-08-03 07:26:43 -04:00
Adam
44387a2587
Rewrote the GetToken functions to act like they did back in 1.8, fixes many problems with commands using them (hs_set, hs_setall, hs_request)
2010-08-03 03:25:50 -04:00
Adam
59ee16c7cb
Made ns set/saset work like cs set/saset, cleans up a lot of code
2010-08-03 01:49:15 -04:00
Naram Qashat
7b27a4e491
Fix NS SASET to actually work.
2010-08-02 19:17:17 -04:00
DukePyrolator
4ffdd7ca6b
saset noexpire works now
2010-08-02 22:37:41 +02:00
DukePyrolator
503215f39c
changed the way how CTCP PINGs are processed, all services clients can now reply to CTCP PING and CTCP VERSION requests
2010-08-02 19:42:00 +02:00
lethality
ddb886aa99
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2010-08-02 15:13:37 +01:00
Adam
48d58d9b88
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2010-08-02 01:17:58 -04:00
Adam
15a0f998a7
Log an error message if we are unable to load the socket engine module, and changed the default engine to be select
2010-08-02 01:17:50 -04:00
DukePyrolator
ca26c4d9ca
fixed segfault on ctcp ping
2010-08-02 07:09:46 +02:00
lethality
80f0351a8b
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2010-08-02 04:04:11 +01:00
Adam
5258549305
Fixed the epoll engine so it really works
2010-08-01 22:43:48 -04:00
lethality
94371e69a9
Added Italics support to the BotSev kickers
2010-08-02 03:35:12 +01:00
Adam
f887b37453
Set the correct bs default flags on new channels
2010-08-01 21:17:52 -04:00
Adam
fd31d4aa29
Mark our clients as protected, prevents users from using /cs kick etc to kick services clients
2010-08-01 20:52:16 -04:00
Adam
4fe1c9233c
Made the epoll socket engine handle MarkWriteable and ClearWriteable events
2010-08-01 20:43:48 -04:00
Adam
90976b6672
Fixed some issues with reconnecting if we disconnect from the uplink
2010-08-01 20:05:52 -04:00
Adam
e8d6524411
Fixed botserv bots parting empty channels. This also allows setting bsminusers to 0, which keeps the botserv bot in the channel at all times.
2010-08-01 16:47:43 -04:00
Naram Qashat
d59c1b95e1
Cleanup in main.cpp.
2010-08-01 13:42:35 -04:00
DukePyrolator
2f6c0e435c
some code cleanup in misc.cpp and fixed a small typo
2010-08-01 18:48:40 +02:00
DukePyrolator
cb3a18e524
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
2010-08-01 18:39:06 +02:00
DukePyrolator
5b68782133
fixed a problem with parting botserv bots
2010-08-01 18:30:11 +02:00
Naram Qashat
084766069c
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2010-08-01 12:21:42 -04:00
Naram Qashat
1175ef320e
Cleanup in memoserv.cpp.
2010-08-01 12:21:17 -04:00
DukePyrolator
a65e9df8dc
ns_info now ignores any extra parameters
2010-08-01 14:50:07 +02:00
DukePyrolator
bfd94136c6
fixed enc_sha256
2010-08-01 09:56:34 +02:00
Naram Qashat
11663765e2
Cleanup in messages.cpp.
2010-08-01 03:21:53 -04:00
Adam
c770c47e18
Don't dynamically allocate commands in modules anymore, instead made them members of modules. This means the commands are automatically destructed when the module is unloaded. Cleans up some old ugly code.
2010-07-31 21:37:45 -04:00
DukePyrolator
9d0d44d738
fixed some database issues
2010-07-31 11:57:42 +02:00
Naram Qashat
602d2378f5
Cleanup in misc.cpp.
2010-07-30 21:47:28 -04:00
Naram Qashat
afb3782aa3
Some more slight cleanups, this time in modes.cpp and module.cpp.
2010-07-30 20:00:52 -04:00
Adam
ef651b667e
Fixed a typo in hashcomp.h for detecting what version of VC is in use
2010-07-30 19:47:22 -04:00
Naram Qashat
7a7b8933bb
Cleanup in modulemanager.cpp, make it so CMake only includes the -fno-leading-underscore flag on a GNU compiler, changed the hash compare functions to use struct to appease clang, and made it so hashcomp.h uses tr1/unordered_map with g++ 4.x or up.
2010-07-30 19:24:41 -04:00
Naram Qashat
a68e215bad
Slight cleanup in modules.cpp.
2010-07-30 17:34:33 -04:00
Naram Qashat
174cc58a8d
Slight code cleanup in nickalias.cpp and nickcore.cpp.
2010-07-30 13:15:35 -04:00
Naram Qashat
527304ed2c
Some code cleanup and constification in nickserv.cpp.
2010-07-30 08:09:07 -04:00
Adam
0cacbf30d2
Fixed hash_map code to build on VS 2008
2010-07-30 03:56:14 -04:00
Adam
8e6fe99181
Fixed some Windows issues with hashing and sockets. This currently limits building to VS 2010, will look at 2008 later
2010-07-30 01:11:19 -04:00
Naram Qashat
e353b15df8
Slight cleanup in operserv.cpp.
2010-07-30 00:05:19 -04:00
Naram Qashat
5ed69ed678
Used std::list for ignore's IgnoreData instead of using the old C-style double-linked list, also removed the addition of an ignore when a command "takes too long".
2010-07-29 23:34:39 -04:00
Adam
abfc9926db
Added support for tracking inspircd2.0 usermode +Q and cahnged the Flags bitsets for modes to not use a max defined value, it can go over
2010-07-29 23:08:47 -04:00
Adam
cc64903179
Rewrote the hashing systems to properly handle the new Anope::strings which we have everywhere.
2010-07-29 18:38:56 -04:00
Naram Qashat
04200cc838
Made all of IRCDProto use const pointers, with the exception of SendVhostDel because of the Unreal protocol module, it makes me sad.
2010-07-29 08:12:54 -04:00
Naram Qashat
06cb137fde
Some code cleanup in regchannel.cpp.
2010-07-28 17:44:42 -04:00
Naram Qashat
971df4825c
Clean up send.cpp a bit to use Anope::string, as well as fix Anope::string's replace_all_* functions to actually work if the original and replacement strings are not the same length.
2010-07-28 08:16:33 -04:00
Naram Qashat
aa9610a56f
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2010-07-28 00:28:59 -04:00
Naram Qashat
4700c96268
Yet more annoying code cleanup, plus made Server's Links list into a normal variable and not a pointer.
2010-07-28 00:19:19 -04:00
Adam
a2573a2c30
Removed some assertions, replaced with throwing CoreExceptions
2010-07-27 22:12:20 -04:00
Adam
4b870cc5f9
Added debug_cast which uses dynamic_cast on debug builds, and static_cast on release builds
2010-07-27 21:31:13 -04:00
Naram Qashat
66c0e280ee
A few more random annoyances cleaned up.
2010-07-27 20:03:10 -04:00
Naram Qashat
92edce8ef9
Cleaned up some code in src/users.cpp that kinda annoyed me.
2010-07-27 18:28:16 -04:00
Naram Qashat
502c985072
Fix bug in User::CheckAuthenticationToken since it should've been getting an Anope::string out of the extensible, not a char *. Oops.
2010-07-27 18:13:56 -04:00
Naram Qashat
1144744c85
Rewrote Anope::Match to use Anope::string instead of doing an ugly reinterpret_cast to unsigned char pointers.
2010-07-27 18:06:36 -04:00
Adam
d4048134af
Some windows fixes from the Anope::string commit
2010-07-27 02:03:10 -04:00
Naram Qashat
57bb759305
Trying to make things a little more const-safe, a work in progress but this is a bit better.
2010-07-26 23:32:03 -04:00
Adam
6e6b6b46aa
Added hostserv/del command permission, fixed example.conf to show that hostserv/* is a command, not a permission
2010-07-26 20:10:33 -04:00
Naram Qashat
8ea033dd35
Missed changing a couple of these, it seems.
2010-07-26 00:22:45 -04:00
Naram Qashat
aa2c1009ee
Removed std::string and ci::string versions of LoadModuleList, we only need the Anope::string version now.
2010-07-26 00:20:00 -04:00
Adam
707268f30b
Some windows fixes caused by the last commit
2010-07-25 23:03:06 -04:00
Naram Qashat
ae38212c1c
Epic commit to replace most of the strings in Anope with a single Anope::string class, plus some other little fixes here and there. If you follow 1.9.x development and are testing things, THIS is one of those things that NEEDS testing.
2010-07-25 21:58:20 -04:00
Adam
15d7f0f6fe
Added support for m_customprefix in inspircd20
2010-07-25 04:22:15 -04:00
Adam
5cd986e82b
Properly handle FMODEs from InspIRCd with more than 25 arguments.. reported by Angel-SL
2010-07-25 02:35:17 -04:00
Adam
2328c3e7ec
Always use non-blocking sockets
2010-07-24 13:45:54 -04:00
Adam
b218d52a31
Removed MARK_DEPRECATED from the OnDatabaseExpire events
2010-07-24 03:32:27 -04:00
Adam
b899a5c269
Properly handle single messages received that have no newline
2010-07-24 03:31:41 -04:00
Adam
f9cd3f4238
Allow clearing of access lists while in XOP
2010-07-17 17:32:38 -04:00
Adam
a22f8d3b2d
Moved some files and diretories around, made cmake skip files it knows it can't compile because of missing dependices.
2010-07-15 22:55:02 -04:00
Adam
43b1e43afb
Added ns_set_misc.cpp which was missing from a previous commit
2010-07-11 00:43:36 -04:00
Adam
63d7142465
Added options:hideprivilegedcommands config option to hide privileged commands from normal users
2010-07-10 22:50:18 -04:00
Adam
a495213026
Properly set up our clients as on our server internally. Fixes crashes when trying to akick our own clients etc
2010-07-10 21:18:22 -04:00
Adam
fa622aae38
Fixed tracking of introducing and quitting juped servers
2010-07-10 20:58:29 -04:00
Adam
07ec79e881
Fixed de.l so it actually compiles
2010-07-10 19:36:28 -04:00
Adam
4b1e76c3bb
Added ns_set_misc and cs_set_misc.
...
These modules allows users to configure settable options in /ns and /cs set
that will be displayed in /ns and /cs info.
Removed os_info, cs_set_url, ns_set_url, cs_set_email, ns_set_icq
2010-07-10 19:08:16 -04:00
Adam
166d6f5d09
Removed autotools and the makefiles. This will be reintroduced differently before the 1.9.3 release.
2010-07-09 02:27:02 -04:00
Adam
7e20659522
No need to allocate the numberlist callback classes with new
2010-07-09 00:20:00 -04:00
Adam
1cf4ebb231
Added an epoll socket engine
2010-07-08 22:19:13 -04:00
Adam
8f8b1e46d6
Fixed bug #1173 , Made hs_request reject actually reject vhosts
2010-07-06 14:07:06 -04:00
Adam
f71d5b4d3a
Removed OnEncryptInPlace, although it currently causes no problems it is just redundant.
2010-07-05 16:14:17 -04:00
Naram Qashat
de1bf10690
Missed OCDing over src/protocol/*, plus fixed a minor lack of braces and fixed Config to work in an out-of-source build.
2010-06-29 08:21:20 -04:00
Naram Qashat
950cfcd31e
Some OCDing over version.cpp, and make it so module.cpp doesn't need version.h (only main.cpp, modulemanager.cpp, and modules.cpp need version.h, to avoid rebuilding EVERYTHING every build)
2010-06-28 23:15:16 -04:00
DukePyrolator
1037a469d3
added some missing includes to src/tools/smtp.h
2010-06-28 20:02:35 +02:00
Adam
d99ee2d9a4
This was in the wrong place, better now.
2010-06-28 13:27:14 -04:00
Adam
f1cb4b86b7
Delete all users when we disconnect from the uplink
2010-06-28 11:24:19 -04:00
Adam
4502038e3d
Unset all known status modes when we recieve a ts older than ours, and remove split servers from their uplinks
2010-06-28 10:59:40 -04:00
Naram Qashat
85b07a94d7
Fix version system so it doesn't cause the entire build tree to get rebuilt just because version.h gets regenerated, thanks to Adam for initial patch.
2010-06-28 01:28:51 -04:00
Adam
2e4099e9f2
No need for BotInfo to have its own ChangeNick function
2010-06-28 00:56:37 -04:00
Adam
00aa4a0ad4
Fixed the makefiles to correctly build and install the new anopesmtp and db-convert
2010-06-28 00:32:50 -04:00
Naram Qashat
28e12bc24a
The next of a few "CBX OCDing over code style" commits, maybe the last.
...
NOTES: I have been unable to compile the db_mysql_* functions on my system here, so those are untested. db-convert seems to be badly programmed and needs more work in my opinion.
2010-06-27 23:15:05 -04:00
Adam
051ebe3eea
Fixed unordered_map to build on VS 2008
2010-06-27 22:21:49 -04:00
Adam
f17c4d4d04
Made Windows install.js correctly detect the Anope version and made version.cpp correctly generate version.h on Windows
2010-06-27 20:34:09 -04:00
Adam
0eb007a1b3
Made the langfiles build
2010-06-27 20:21:11 -04:00
Adam
1e53c2d50a
Removed nickserv/chanserv info all, just have info show all information
2010-06-27 19:55:19 -04:00
Adam
ccc92376be
Log out users when they log in to another account.
2010-06-27 17:59:48 -04:00
Adam
8cf8faf529
Don't attempt to enforce sqlines on our own clients
2010-06-27 16:26:35 -04:00
Adam
6e1fa85cbc
Log out users from their groups when they disconnect, keeps us from storing invalid pointers in the nickcore user list
2010-06-27 14:45:14 -04:00
Naram Qashat
9269d20a70
The next of a few "CBX OCDing over code style" commits, focusing on src/core/ns_*.
2010-06-27 11:55:39 -04:00
Adam
57caa0b53f
Made Anope track its own clients internally as if they were real users
2010-06-27 02:41:48 -04:00
Adam
d49aee6cf8
Made the flags class take an optional size arg
2010-06-26 22:50:02 -04:00
Adam
e51d6e2fe1
Added in the rest of the InspIRCd 2.0 changes to the protocol module
2010-06-26 21:47:35 -04:00
Adam
36c646c7d2
Added support for InspIRCd 2.0s dynamic modes.
...
Note that this changes the maximum length of an acceptable
IRC message from 512 to 1024 because InspIRCd sends messages
longer than 512 characters.
2010-06-26 21:12:31 -04:00
Naram Qashat
4e31757f14
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2010-06-26 01:39:11 -04:00
Naram Qashat
6dc3af5db4
The next of a few "CBX OCDing over code style" commits, focusing on src/core/hs_* and src/core/ms_*, plus some tiny fallout caused by changing the FOREACH_* macros.
2010-06-26 01:38:19 -04:00
Adam
c7cb8897b4
docs/TOOlS -> docs/TOOLS
2010-06-25 22:53:26 -04:00
Adam
d5ee411aca
Moved src/tools/README to docs/TOOLS
2010-06-25 22:13:32 -04:00
Adam
03fbc7d281
Changed the versioning system to use git
2010-06-25 20:00:21 -04:00
Adam
cbcead4e89
Made db-convert handle old corrupted databases from 1.8 that used mysql with rdb
2010-06-25 19:14:05 -05:00
DukePyrolator
e447933c02
fixed some typos in example.conf
2010-06-24 07:38:20 +02:00
Naram Qashat
7bb90e1922
The next of a few "CBX OCDing over code style" commits, focusing on src/core/enc_*, plus fixing unintentional broken logic in said modules caused by my first OCD commit.
...
Also added a note to example.conf about enc_sha1 being potentially broken, and slight code style OCD in hashcomp.cpp found by Adam.
2010-06-24 00:34:04 -04:00
Adam
c4233e9f9a
Made db-convert really convert nickalias lastseen/lastused/lastquit
2010-06-22 16:21:57 -04:00
DukePyrolator
959a1a69a5
moved FindMessage() into the Anope class
2010-06-22 22:06:23 +02:00
DukePyrolator
7e872db956
changed the name of the logfile from servics.log.<date> to <date>.services.log to make windows users happy
2010-06-22 21:33:29 +02:00
Adam
980a2feff8
Fixed a typo in the example.conf for m_helpchan
2010-06-22 11:26:45 -04:00
Naram Qashat
e8d7c65ecf
Fix compile errors I unintentionally caused 2 commits ago. <.<
2010-06-22 08:39:03 -04:00
Naram Qashat
6a8c359b4f
The next of a few "CBX OCDing over code style" commits, for db_plain.cpp
2010-06-22 08:36:37 -04:00
Naram Qashat
1e20877e2f
The next of a few "CBX OCDing over code style" commits, focusing on src/core/bs_* and src/core/cs_*.
2010-06-21 23:14:28 -04:00
Adam
fb16ce72a0
Fixed some more problems with db-convert
2010-06-21 16:16:11 -04:00
Naram Qashat
36bf5fcb26
Fix problem with anope.db being empty even after running /os update.
2010-06-21 01:33:36 -04:00
Adam
16854ae793
Fixed a few Windows problems with cleaning out the runtime directory
2010-06-21 00:02:57 -04:00
Adam
17040c088a
Store modules in a list and xlines in a vector, not deques. We need to be able to keep iterators valid.
2010-06-20 21:33:01 -04:00
Adam
0d2d7e9968
Fixed Windows build
2010-06-20 20:05:23 -04:00
Naram Qashat
63d7bee2a6
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
...
Conflicts:
include/config.h
2010-06-20 18:51:03 -04:00
Naram Qashat
381c9c8870
The first of a few "CBX OCDing over code style" commits, focusing on include/* and src/* but not src/core/* or src/modules/*.
2010-06-20 18:42:58 -04:00
Adam
e8a1570ed9
Added m_helpchan to replace the cores helpchannel functionality
2010-06-20 14:04:17 -04:00
Adam
968e4d0bdd
Fixed the name of cs_forbid in chanserv:modules so it really loads
2010-06-20 13:11:31 -04:00
Adam
7b7e2a6150
Updated TODO
2010-06-19 21:22:48 -04:00
Adam
448eadd747
Made db-converter add all of the core clients when converting a 1.8 database
2010-06-19 20:53:53 -04:00
Adam
68b54f3fb5
Made db-converter only write mlock params if there really is one, fixes some problems with converting mlock for certain databases
2010-06-19 13:39:12 -04:00
Adam
7530c030a9
Merge remote branch 'sf/1.9' into 1.9
2010-06-19 12:09:39 -04:00
Adam
2528dc80bd
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
2010-06-19 11:59:11 -04:00
Adam
52058fe87b
Merge remote branch 'origin/1.9.3' into 1.9
2010-06-19 11:54:08 -04:00
Charles
43e951aed5
Revert "file 1 edit"
...
This reverts commit f74f82619d .
2010-06-19 16:46:35 +01:00
Charles
c2ae11dd92
Revert "file 2 edit"
...
This reverts commit 87ac831206 .
2010-06-19 16:46:26 +01:00
Charles
87ac831206
file 2 edit
2010-06-19 16:45:29 +01:00
Charles
f74f82619d
file 1 edit
2010-06-19 16:45:13 +01:00
Charles
03dcccc461
Revert "work"
...
This reverts commit 35a1c2c1bf .
2010-06-19 16:44:18 +01:00
Charles
35a1c2c1bf
work
2010-06-19 16:42:18 +01:00
Charles
a2131b7da6
Revert "testing"
...
This reverts commit c0ea25fb94 .
2010-06-19 16:32:52 +01:00
Charles
c0ea25fb94
testing
2010-06-19 16:31:30 +01:00
Adam
e05919a1a5
Test commit for CIA
2010-06-19 11:18:06 -04:00
Adam
d5fd2f5d57
Test commit for CIA
2010-06-19 11:17:15 -04:00
Charles
31acdea1aa
Revert "Testing commit to see if CIA is playing"
...
This reverts commit 7b1f345284 .
2010-06-19 15:02:30 +01:00
Charles
7b1f345284
Testing commit to see if CIA is playing
2010-06-19 10:09:57 +01:00
Adam
df9d291bcb
Made install.js use VS 2010
2010-06-18 21:17:41 -04:00
Adam
7c4a9cf979
Switched cs_set to the subcommand system and added cs_saset
2010-06-18 21:04:10 -04:00
Adam
e6447fa2c4
Added in a subcommand system and switched ns_set and ns_saset to use it
2010-06-18 21:04:09 -04:00
Adam
6cd8849466
Moved the *Serv help functions to Command, will come in use later with subcommands
2010-06-18 21:04:09 -04:00
Adam
b8f9116b19
Rewrote all of the command handling to get rid of all the nasty strtoks() everywhere, and added a bot map by uid
2010-06-18 21:04:08 -04:00
Adam
435c9116e9
Added an arg to User::IsRecognized to check for NI_SECURE
2010-06-18 21:04:08 -04:00
Adam
c43666e344
Rewrote cs_access to be more C++ish, changed NumberList to be more C++ish and fixed some compiler warnings on 64bit systems
2010-06-18 21:04:08 -04:00
Adam
1394c96173
Removed a lot of unnecessary .c_str() calls in the find* functions
2010-06-18 21:04:08 -04:00
Adam
f0a44ba894
Made NumberList take an arg to determin if it should pass numbers in descending order, fixes listing specific ranges being returned in descending order
2010-06-18 21:04:08 -04:00
Adam
4a2b9ebcf3
Renamed all of source files from .c to .cpp
2010-06-18 21:04:07 -04:00
Adam
2fba686904
Burned slist, rewrote operservs XLine code
2010-06-18 21:04:05 -04:00
Adam
3a2c2a916a
Dont load mlock from the database until after Anope is connected, it doesnt know all of the available modes until then
2010-06-18 21:03:44 -04:00
Adam
0358ae062b
Unmark services as syncing when we are done, fixes cs_xop and cs_modes reloading mode specific commands
2010-06-18 21:03:43 -04:00
Adam
cab6fcc82d
Added a founder access level used to determin who is a channel founder. This is completely independant of the owner levels
2010-06-18 21:03:43 -04:00
Adam
17ab410400
Removed process_numlist and having to mark everything as "in use" and constantly checking it. Replaced with a better system.
2010-06-18 21:03:41 -04:00
Adam
2a22d9c2fd
Fixed cmake build, removed version_flags it is no longer need, removed old unneeded defs.h and split up pseudo.h
2010-06-18 21:02:12 -04:00
Adam
c477360dbf
Removed empty.c, instead have cmake create a new empty file when it needs it and deletes it later
2010-06-18 21:01:55 -04:00
Adam
ee57f57193
Store modes in users and channels using the Flags class, cleaner
2010-06-18 21:01:55 -04:00
Adam
c966d7ec17
Send a QUIT before we shutdown or restart for all of our bots
2010-06-18 21:01:55 -04:00
Adam
f049124905
Rewrote the hashing system to use std::tr1::unordered_map
2010-06-18 21:01:53 -04:00
Adam
81a45520a7
Added some global variables for the core pseudo clients, keeps us from having to call findbot() everywhere
2010-06-18 21:01:17 -04:00
Adam
e6263dba84
Allow attaching metadata to nickrequests and storing it in the databases and fixed windows build
2010-06-18 21:01:17 -04:00
Adam
631d11d6a8
Store a plaintext version of mode names in the mode structures, removes alot of unneeded code from db_plain/db_mysql.
2010-06-18 21:01:17 -04:00
Adam
4e1286ca10
Rewrote the mail system to use threading
2010-06-18 21:01:09 -04:00
Adam
4149afd45d
Changed threadengine to delete threads after Joining them, so the whole thread exists when being joined and so its safe to call non-threadsafe functions in the destructor
2010-06-18 21:00:04 -04:00
Adam
6db15e1783
Added the nickserv/ungroup command
2010-06-18 21:00:03 -04:00
Adam
e78a055c2b
Removed old config.h and moved configreader.h to config.h
2010-06-18 21:00:02 -04:00
Adam
af805e5b45
Allow enabling ssl on a per-uplink basis
2010-06-18 20:58:55 -04:00
Adam
b775c84402
Fixed the Makefiles to build m_ssl correctly and marked m_ssl as permanent
2010-06-18 20:58:55 -04:00
Adam
ebfff71599
Made opertypes inheritable
2010-06-18 20:58:55 -04:00
Adam
9439cac6b1
Added m_ssl.cpp which allows Anope to use SSL when connecting to its uplink
2010-06-18 20:58:55 -04:00
Adam
a93be9ff1c
Added two events called in ns_info and cs_info that allows modules to easially add info output. Made os_info use this
2010-06-18 20:58:55 -04:00
Adam
5d437d9ab5
Renamed the init_module function to AnopeInit - Some systems have an init_module function outside of Anope which causes a crash if you try to load a non-Anope module
2010-06-18 20:58:55 -04:00
Adam
031bc4a8b0
Merged branch threadingengine with master - Added a threading engine
2010-06-18 20:58:54 -04:00
Adam
503958aa77
Prevent negaitve mode changes, kicks, bans, and autokicks from affecting users with unreal usermode +q or similar
2010-06-18 20:58:54 -04:00
Adam
c1d161dec4
Rewrote all of the server handling code
2010-06-18 20:58:52 -04:00
Adam
73e93305c1
Added nickserv/auspex permission and fixed core modules so they build
2010-06-18 20:56:21 -04:00
Adam
fa82890696
Moved Commands stuff to its own file and changed Command::name to be ci::string - Will be used after hashing system is rewritten
2010-06-18 20:55:38 -04:00
Adam
2ba89de64d
Tell users when their nicks expire in /ns glist and /ns info
2010-06-18 20:55:36 -04:00
Adam
c4b725b2e1
Removed all references to $, git has no svn keywords
2010-06-18 18:39:30 -04:00
Adam
428d930e2b
Made all modules version be VERSION_STRING
2010-06-18 18:30:35 -04:00
Adam
cc3104fc3f
Removed .svn from CMakes list of folders to ignore, it not longer exists
2010-06-18 18:22:42 -04:00
Adam
1c7c4708d0
Test commit to test CIA
2010-06-18 17:16:28 -04:00
Adam
bc86550c2c
Merge branch '1.9' of ssh://shell.sf.net/home/scm_git/a/an/anope/anope into 1.9
2010-06-18 16:51:37 -04:00
Adam
ad45dbacbb
Fixed some problems with the mode stacker from svn to git merge
2010-06-18 16:50:56 -04:00
Charles
116e5c7479
Revert "test commit to see if cia notices"
...
This reverts commit 2d7e5c07d0 .
2010-06-18 21:49:26 +01:00
Charles
2d7e5c07d0
test commit to see if cia notices
2010-06-18 21:45:05 +01:00
Charles
184b96946a
Merge svn with git
2010-06-18 21:04:30 +01:00
Adam-
a8b6e44c69
Updated TODO to contain most of what 1.9.3 will have
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3011 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-18 17:17:50 +00:00
Adam-
3a2eb6307f
Fixed bug #1171 - Fixed defcon so it works on Windows
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3010 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-18 16:51:52 +00:00
Adam-
4e6ede0e18
Initialize 1.9.3 SVN
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3009 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-18 07:52:39 +00:00
Adam-
883d22d4da
Bump for 1.9.2 Release
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3007 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-18 07:40:17 +00:00
cyberbotx
b766b3a597
Minor edits to fix compile errors/warnings with clang and a small compile warning under Windows (gotta work on the other 450+ Windows warnings sometime).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3006 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-16 23:50:33 +00:00
Adam
475f5afafc
Replaced some spaces with tabs in unreal32.c, os_defcon.c, and modes.cpp
2010-06-16 17:14:35 -04:00
Adam-
834f4d1bf0
Cleaned up some of the cloaked host tracking on Unreal
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3004 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-15 17:04:27 +00:00
Adam-
ab4533e58a
Made db-convert change old disabled levels to newer ACCESS_QOP, keeps people from being locked out of controlling their own XOP channels
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3002 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-12 22:28:56 +00:00
Adam-
4ba8c2ba74
Tell users to identify when they connect on InspIRCd
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3001 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-12 22:28:52 +00:00
Adam-
2cc4cd0165
Only enable vhosts automatically if the user doesn't already have the vhost set
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2998 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-04 02:17:58 +00:00
Adam-
9abdb4e2e9
Added inspircd2.0 protocol module, moved usermode +r unsetting on nick change to the protocol modules to fix inspircd1.2s weird usermode +r behavior
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2997 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-03 19:01:28 +00:00
Adam-
f43f6c3864
Keep track of what IRCds set -r on nick change and dont inform us to keep the modemanager/modestacker in sync
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2996 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-03 05:59:59 +00:00
Adam-
6d87e0eb72
Use pongs to determine when servers are done syncing in Unreal, fixes a problem with Unreals endburst system where we have clients introduced to us from a "synced" server when they really arent
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2995 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-03 05:15:44 +00:00
Adam-
1c89004245
Removed ircd->b_delay_auth, have User::CheckAuthenticationToken validate users. Fixes us telling people to identify after netmerge then silently identifying them once we process svid.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2994 5417fbe8-f217-4b02-8779-1006273d7864
2010-06-03 05:15:39 +00:00
Adam-
8cc71ee794
Fixed a crash from r2990
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2992 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-30 03:21:10 +00:00
Adam-
e4189822bc
Rewrote some of the user nick changing code, enable vhosts for users on nick change, and dont update last seen/last realname when users are identified to an account which doesn't own the nick they are using
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2990 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-28 21:57:15 +00:00
Adam-
a5ddbb0217
Fixed some compiler warnings found on 64bit systems
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2989 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-27 01:51:14 +00:00
Adam-
3d396f245b
Fixed tracking of users with the +a channel mode on unrealircd during SJOINs
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2988 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-26 19:48:12 +00:00
Adam-
0018f790ed
Fixed some windows problems with db_mysql_execute
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2987 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-26 19:48:08 +00:00
Adam-
6674797c7d
Fixed some windows problems with db_mysql_execute
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2986 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-26 19:48:04 +00:00
Adam-
1e2e80bf75
Changed User::AutoID to always log in the user to the core, and to set usermode +r on users that should be. Fixes everyone being identified but not usermode +r on inspircd 1.2
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2985 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-25 20:21:59 +00:00
Adam-
dc3744a71c
Check if a module file exists before making runtime copy of it, keeps 0 byte sized unused modules out of the runtime/ directory
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2984 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-25 20:21:54 +00:00
Adam-
a36e536a4d
Fixed a crash if /ns ghost is used without a password
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2983 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-25 18:23:33 +00:00
Adam-
7f4afc22fa
Truncate memo table before sqlsync and actually add sglines
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2982 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-24 06:17:25 +00:00
Adam-
6e7479170e
Fixed bug #1167 - Fixed rsquitting juped servers on InspIRCd1.2+
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2980 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-23 20:46:29 +00:00
Adam-
543e0d770a
Fixed bug #1165 , fixed soem missing tables in /os sqlsync. Also added support for saving cs_levels
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2979 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-23 20:46:23 +00:00
Adam-
d5f0360175
Rewrote the nick colliding/releaseing/canceling system, fixes many many bugs on IRCds without svsnick and/or svshold
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2975 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-22 07:40:22 +00:00
Adam-
fae2710ba7
Fixed saving capsmin in the database, fixes the bug also fixed by the last commit
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2974 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-21 23:05:38 +00:00
cyberbotx
8e39d5f219
Fix crash bug when there is a caps kicker in a channel but no alphabetic characters on a line.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2973 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-21 22:36:06 +00:00
Adam-
0a91d582c9
Fixed a crash when a users realname changes when they are on a registered nick but not identified, and made my last commit about case insensitive oper names really work
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2972 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-21 20:30:26 +00:00
Adam-
9b06dc5046
Made the oper:name config option case insensitive
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2971 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-21 06:46:52 +00:00
Adam-
6fb5ca2315
Fixed db-convert to properly convert mlocked mode names for the new databases
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2970 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-20 19:36:17 +00:00
Adam-
3860856dd2
Moved opertype access checking to NickAlises constructor, cleans up some code and fixes bug #1163
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2968 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-19 06:17:55 +00:00
Adam-
2b4d834f8c
Fixed a potential crash in os_szline because of a bad pointer passed to an event
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2967 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-19 06:17:48 +00:00
Adam-
79c3a70ed7
Made is possible to change levels back to founder only and made founder only levels only apply to the real founder. Changed the defaults for things such as autoowner to ACCESS_QOP
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2965 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-17 18:12:40 +00:00
Adam-
f9c4baf8fc
Free access and badwords list when channels are deleted
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2964 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-17 18:12:26 +00:00
Adam-
a0ff4cfed5
You dont see this
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2961 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-14 20:56:40 +00:00
Adam-
5993a65b87
Fixed many windows problems in the debug build
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2960 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-14 20:52:17 +00:00
Adam-
116a4b2bea
Removed ns_noop_convert. The ns_noop module is for stable and almost 4 years old
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2959 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-14 16:51:28 +00:00
Adam-
29619eb206
Finished r2957
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2958 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-14 16:01:54 +00:00
DukePyrolator
78240c5790
Reversed the autoop flag to make it more logical. In 1.8, we set this flag to DISABLE autoop. Now we set this flag to ENABLE autoop. Also updated the database converter.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2957 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-14 06:16:25 +00:00
Adam-
da277ad2c9
Fixed all of the bugs related to bug #1162 and fixed mlock params to be saved correctly in the mysql database
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2956 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-13 20:25:31 +00:00
DukePyrolator
b88b98e627
fixed crashbugs in db_mysql_write when unsetting url, email and greet
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2955 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-13 19:30:56 +00:00
DukePyrolator
0ab5111bda
fixed crashbug in db_mysql_write on updating an empty greet message
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2954 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-13 19:04:19 +00:00
Adam-
6c56c23837
Update core bot client names if the config is changed
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2953 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-13 06:27:16 +00:00
Adam-
bd2fda42cf
Fixed a potential crash caused from accessing a uninitialized pointer when enforcing mlock
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2951 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-12 01:53:29 +00:00
Adam-
baa119f2e2
Changed the names of modes in the databases to be exactly the same way they are used internally. This will become very important in 1.9.3 later
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2949 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-10 22:05:01 +00:00
Adam-
5351fb4e4a
Save & load nick requests from db_plain
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2948 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-10 19:26:18 +00:00
Adam-
2f3da52c3c
Fixed tracking of InspIRCd channel mode R
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2945 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-10 06:41:16 +00:00
Adam-
80969ad89a
Fixed tracking of channel mode +L on InspIRCd 1.2
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2944 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-10 06:30:17 +00:00
Adam-
7b6d1e1b52
Removed channel passwords from the CHAN_HELP_REGISTER and CHAN_HELP_DROP language strings
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2942 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-08 20:58:11 +00:00
Adam-
0a371aec7b
Removed an unneeded static_cast in enc_none
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2941 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-07 20:57:29 +00:00
Adam-
011e426845
Removed the chanserv/aop/list command perm and switched it with chanserv/access/list. Fixed a bug so users on the access list can request the vop and hop list.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2940 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-07 20:16:09 +00:00
Adam-
75f39dec7a
Fixed bug #1159 and made the SQL fields holding timestamps more consistant
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2939 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-06 17:08:55 +00:00
Adam-
3ebaa46c99
Revert "sql file should work fine on import now (exported via phpmyadmin, which puts constraints at the end)"
...
Revert "added DROP TABLE statements and english comments"
Revert "* SQL schema switched to InnoDB engine and UTF-8 encoding"
This reverts commit 196567ce68
This reverts commit 2e03670256
This reverts commit 7ffaa93865
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2938 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-06 16:45:34 +00:00
pimpmylinux
196567ce68
sql file should work fine on import now (exported via phpmyadmin, which puts constraints at the end)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2937 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-06 06:55:00 +00:00
DukePyrolator
2e03670256
added DROP TABLE statements and english comments
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2936 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-06 05:25:23 +00:00
Adam-
845cca2722
Fixed a compile error in r2933
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2934 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-05 23:39:41 +00:00
pimpmylinux
1b7749f108
SVN Id keyword to .h/.c/.cpp files
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2933 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-05 23:09:14 +00:00
pimpmylinux
7ffaa93865
* SQL schema switched to InnoDB engine and UTF-8 encoding
...
* Defined several foreign keys and added some missing indexes
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2932 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-05 22:55:18 +00:00
Adam-
6bd04bc936
db_mysql_read now loads the full database
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2928 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-04 18:43:13 +00:00
Adam-
8c1afc307a
Fixed a crash because of a bad SQL query when changing your password
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2927 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-03 20:38:27 +00:00
Adam-
d002ea1952
Moved CODING, TODO, and Changes* to docs/. Removed unused empty file install-sh.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2926 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-02 04:37:17 +00:00
Adam-
05eb3fd2d6
Added support for InspIRCd 2.0
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2925 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-01 22:49:41 +00:00
Adam-
9fc99cdfbb
Fixed ms_rsend reply when sending a memo to a nick
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2924 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-30 18:04:25 +00:00
Adam-
0f45f286eb
Made ms_rsend work
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2923 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-30 17:09:09 +00:00
Adam-
f07adb2b25
Do not join ChanServ to hold channels if the channel is syncing
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2922 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-30 00:08:36 +00:00
Adam-
ab7e430170
Don't use botserv bots to hold channels open, becomes too much of a problem if people unassign/reassign bots etc
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2921 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-30 00:08:33 +00:00
Adam-
8aa7fbe0ea
Properly track users who join channels using an exception
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2920 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-29 23:05:09 +00:00
Adam-
7fc9b4f943
Forward port of r2918
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2919 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-29 00:23:18 +00:00
Adam-
3d367e9bde
Fixed a typo in Changes and added an entry about new ipv6 support
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2917 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-28 21:32:28 +00:00
Adam-
582212b361
Allow superadmins and ulines to join channels always
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2916 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-25 23:12:27 +00:00
Adam-
1528727cc8
Fixed a crash when shutdown when not connected
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2915 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-25 01:23:23 +00:00
Adam-
492b543c7e
Fixed the /nickserv help info output to services opers and the reply from /chanserv help info to be correct
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2914 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 22:48:58 +00:00
Adam-
0bfe09ba5d
Fixed loading negatively mlocked modes from the DB and fixed loading access creators
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2913 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 22:20:14 +00:00
Adam-
76534583db
Fix a potential crash when removing SQLines
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2912 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 22:20:10 +00:00
Adam-
b8674ee3fb
Logout the SQLUser & any fake users after using commands
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2911 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 22:20:00 +00:00
Adam-
9f47e2b137
Fixed typo in CHAN_SET_PERSIST_SYNTAX lang string
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2910 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 20:41:00 +00:00
Adam-
aff1d04bab
Updated TODO
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2909 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 20:40:52 +00:00
Adam-
01b0ad461a
Fixed crash when shutting down when db_mysql_execute is loaded and logusers is enabled
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2908 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 06:51:23 +00:00
Adam-
80c9c4903e
Fixed dropping nicks registered through MySQL
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2907 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 06:51:19 +00:00
Adam-
757c7ad973
Fixed some typos in log messages, found by Lethality
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2906 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-24 06:51:14 +00:00
Adam-
531cba9251
Actually use readtimeout from the config & fixed many valgrind errors
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2905 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-22 19:40:58 +00:00
Adam-
752e87a9f0
Fixed two log message typos, patch from Lethality
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2904 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-22 00:32:18 +00:00
Adam-
508996215f
Fixed cs_clear ops to not deop users twice on Unreal and made it always use svsmode_ucmode if it can
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2902 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-21 02:15:48 +00:00
Adam-
f87398b532
Correctly handle recieving messages over 65.5 thousand bytes
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2901 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-20 23:33:09 +00:00
Adam-
a6cc0a305e
Reply with the correct idle times for the core service bots
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2898 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-17 15:48:30 +00:00
DukePyrolator
bf84e48549
fixed missing SID before FJOIN in the inspircd12 protocol module
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2897 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-17 14:22:16 +00:00
Adam-
99559d1acd
Fixed loading botserv bots time created & number of channels from the database, and only readd the core bots if none exist, not just if nickserv doesn't exist
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2892 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-15 02:23:41 +00:00
Adam-
12a4aa4dba
Fixed crash on /ns release and made release actually work
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2891 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-13 18:37:35 +00:00
Adam-
a53719d91e
Remove +r from nonregistered channels
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2890 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-13 02:45:33 +00:00
Adam-
5a6ec7cf86
Fixed +q and +a channel modes on inspircd 1.2 if they have no prefixes
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2889 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-11 20:09:11 +00:00
Adam-
e84db77a2c
Correctly identify a user when they get autoidentified and made db_plain not crash if it gets a founderless channel
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2888 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-11 20:09:06 +00:00
Adam-
34f10d78fc
Don't backup the database and not rewrite a new one (oops?)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2887 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-11 07:29:51 +00:00
Adam-
5d3491e72f
Dont allow the first user in registered syncing channel to retain their access if they arent allowed to have it
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2886 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-11 07:29:46 +00:00
Adam-
1e9de0c7f1
Return MOD_STOP in various places where the user executing the command had been killed, fixes a crash if a user gets killed for too many invalid passwords
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2885 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-11 00:29:07 +00:00
Adam-
626afff37d
Dont backup the database unless there is a database to backup
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2884 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-11 00:28:59 +00:00
Adam-
aa677072e0
Fixed cs_modes to add commands after the modes requiring them are introduced
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2883 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-10 22:58:46 +00:00
Adam-
c424dce517
Made db_plain backup its databases
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2882 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-10 22:58:42 +00:00
Adam-
91f6b2e29d
Made MySQL log errors when executing queries instead of crashing
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2881 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-10 19:16:55 +00:00
dukepyrolator
7d3138a4cc
changed all mysqlpp::String::empty() calls to mysqlpp::String::size() to make it compile with older versions of the mysql++ library
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2880 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-10 17:15:08 +00:00
Adam-
c4f40ed3a7
Fixed tracking of InspIRCd mode +J and fixed mode manager and stacker to handle parameter modes correctly
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2879 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 22:50:48 +00:00
Adam-
a1c49c827f
Fixed a problem with binding to certian IPs
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2878 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 19:41:44 +00:00
Adam-
1f738f0ad4
Fixed a potential crash when a user does not pass connection checks (akill/session)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2877 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 18:51:05 +00:00
Adam-
af45426be5
Fixed a crash when linking servers
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2876 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 18:11:00 +00:00
dukepyrolator
278314f8be
fixed a small typo in the language files
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2875 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 16:10:46 +00:00
dukepyrolator
4e594d3acd
fixed the database converter (streams dont like null pointers)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2874 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 14:27:54 +00:00
Adam-
89120afeba
Fixed cs_ban, os_jupe, and os_restart
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2873 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 06:26:08 +00:00
Adam-
1a3a4b275f
Removed the OnFind events, they are not necessary anymore and just waste CPU
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2872 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 06:04:52 +00:00
dukepyrolator
a840ef8ae8
added a new event OnFinishSync, that allows modules to send additional data to the IRCd before we send the EOB
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2871 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:28:46 +00:00
dukepyrolator
2c79273205
changed the way how the IV is stored with the password and renamed some variables to make the code more understandable
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2870 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:22:25 +00:00
Adam-
ac19ba79d1
Process the socket engine one last time before Anope disconnects to send everything through to the uplink
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2869 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:04:21 +00:00
Adam-
a40c22a729
Made the mode stacker never send a mode change for something that is already (un)set, and set -r when dropping channels
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2868 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:04:17 +00:00
Adam-
911eeea867
Fixed enc_none OnDecrypt to work correctly on Windows
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2867 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:04:09 +00:00
Adam-
1ec931a93a
Fix a typo in Changes.conf
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2866 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:04:04 +00:00
Adam-
93949b8b96
Fixed windows compile on new sockets
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2865 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 05:03:57 +00:00
Adam-
6a70b5385b
Fixed ns_getpass and ns_sendpass to not load when there is no supported encryption loaded
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2864 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09 01:09:55 +00:00
Adam-
f483ab87c6
Updated Change log
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2863 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-08 21:00:28 +00:00
Adam-
973ecb7058
Rewrote sockets. This adds support for IPv6 and makes Anope capable of reconnecting if it loses connection to the uplink.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2862 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-08 20:23:00 +00:00
Adam-
e1ff14e0c4
Fixed make install
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2857 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-04 00:54:00 +00:00
Adam-
b2380300ff
Added a small example webpage that can be used to register nicknames online via SQL
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2852 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 20:53:08 +00:00
Adam-
2404bb74c5
Fixed windows build
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2850 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 06:21:16 +00:00
Adam-
b1c34faf49
Fixed cs_xop to not add its commands until after it knows what modes as supported by the IRCd
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2849 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 04:42:00 +00:00
Adam-
b55ac06019
Added akicks into SQL
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2848 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 04:41:56 +00:00
Adam-
eaf211d59c
Burned db-merger & docs, it will eventually need a complete rewrite
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2847 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 04:41:49 +00:00
Adam-
94822c99c0
Added last used time to akick view
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2846 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 04:41:44 +00:00
Adam-
a3347b59a1
Marked mysql modules as a database module and fixed os_modlist to show database modules
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2845 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31 04:41:35 +00:00
Adam-
3c4b3f0407
Fixed --with-mysqlpp configure option on some systems
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2844 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-30 19:17:50 +00:00
Adam-
f4bcf833ec
Finish rest of BotServ SQL stuff
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2839 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-28 07:57:05 +00:00
Adam-
aa90411f3a
Track BotServ settings in SQL
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2838 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-28 04:40:13 +00:00
Adam-
7e8e6e849b
Removed some unused externs from extern.h
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2835 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-24 01:17:43 +00:00
Adam-
3ffd917926
Rewrote arg parsing system, changed lots of std::string*s to std::string&, made --config arg, and made Anope print out a few lines of information when starting
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2833 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-24 00:46:53 +00:00
Adam-
14fc57d24b
Replaced old update/expire timers with newer timers
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2832 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21 19:57:25 +00:00
Adam-
9302af51a3
Added options:passlen
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2831 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21 19:57:22 +00:00
Adam-
287169d6e8
Made the database file name configurable
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2830 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21 19:57:14 +00:00
Adam-
fc05827621
Made usermax and hostmax configurable
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2829 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21 19:57:08 +00:00
DukePyrolator
04bf65525a
fixed typo in mysql query
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2828 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21 11:28:42 +00:00
DukePyrolator
872a00242e
assigned botserv bots will now join permanent channels when syncing with our uplink
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2827 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21 08:43:12 +00:00
DukePyrolator
d70948d81e
fixed bad mysql query
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2826 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21 06:01:31 +00:00
DukePyrolator
3e77eaa218
fixed sending CHGIDENT without parameter
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2825 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-20 22:27:11 +00:00
Adam-
28ccf79adf
Fixed /ms list reply header to include the users nick
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2824 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-20 04:59:50 +00:00
Adam-
6ebc85b900
Fix loading akills/sxlines from plaintext database
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2823 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-20 04:59:43 +00:00
Adam-
51351aac2b
Added in support for OperServ and MemoServ into SQL
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2822 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-20 04:59:38 +00:00
Adam-
ba4c7d8138
Made the exception list really work
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2820 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-18 19:03:35 +00:00
Adam-
2871c4701b
Fixed bug #1141 , reodered some access checks in cs_kick and cs_modes to hide who is on the channel
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2817 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-16 20:21:40 +00:00
Adam-
f62eb16176
Removed old parts for 1.7.x from mydbgen and fixed db_mysql_write query for /nickserv set
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2814 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-15 23:35:47 +00:00
Adam-
b7477fc4d0
Foward port of r2809
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2812 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-13 20:46:34 +00:00
Adam-
faed18f6e8
Fixed loading memo messages from the flatfile databases
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2806 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-09 05:26:10 +00:00
Adam-
ce79b5023f
Made guestnick generation really work
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2805 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-09 01:25:09 +00:00
Adam-
27364ac890
Added the --with-mysqlpp option to configure to tell it where mysql++ is installed at
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2804 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-08 03:08:37 +00:00
dukepyrolator
dd7d2d4cf0
added a check for null pointers
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2803 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-06 10:33:28 +00:00
Adam-
023c2188f8
Added help for sqlsync and fixed installing mydbgen into the wrong directory when using configure
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2802 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-06 07:34:19 +00:00
Adam-
ab1f8e01fa
Made it so you can register empty nonregistered channels to make registering channels through SQL a bit more effective, fixed a some small bugs found on the testnet, added some missing modes into InspIRCd1.2 support, and updated TODO and Changes.lang
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2799 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-28 22:12:09 +00:00
Adam-
3f80e1cad0
Added in support for live updating MySQL databases and the ability to execute commands to Anope through MySQL. Currently database support only applies to NickServ, ChanServ and BotServ but will be expanded soon.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2798 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-28 17:33:31 +00:00
Adam-
393b5ab26e
Marked mode +f on inspircd1.2 as minusnoarg
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2797 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-28 05:39:50 +00:00
Adam-
9edede4f3a
Removed OnBotPreLoad event, this is a much better way to prevent multiple of the same bots being loaded
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2796 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-25 07:12:17 +00:00
Adam-
235c4ae95c
Rewrote part of the Timer and CallBack code for modules to be sane
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2795 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-25 06:20:00 +00:00
Adam-
54a60add71
Actually use the cmdTable pointer in bot structures, it now points to the bots command hash
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2794 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-23 01:33:17 +00:00
cyberbotx
a06e674305
Correctly identify CMake 2.8.x as being CMake 2.6 or better.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2793 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-20 04:21:15 +00:00
Adam-
84ecd1866c
Added generic support for unknown modes told to Anope at runtime by the IRCd
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2790 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-12 19:51:16 +00:00
Adam-
2eb2cb7650
Changed up a small part of the mode API for preparation for dynamic mode support at runtime
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2789 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-10 23:40:54 +00:00
Adam-
fcc08f61bc
Updated docs to reflect CAPAB change
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2788 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-10 00:32:19 +00:00
Adam-
512b5bdaf3
Rewrote & fixed CAPAB support
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2786 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-08 03:09:19 +00:00
DukePyrolator
f4db8c5360
fixed some uninitialized pointers
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2785 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-07 00:03:10 +00:00
Adam-
6b2f9e25cd
Fix typo in inspircd11 that would cause people not to get status from FJOINs
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2784 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-06 20:16:30 +00:00
Adam-
4099944013
Recieve the max number of modes we can set at once from the IRCd and use it
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2783 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-06 19:27:32 +00:00
Adam-
87b62c433d
Remove protectbotserv option from modes, just use options:botmodes instead
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2782 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-06 19:27:10 +00:00
Adam-
de99f89894
Parse CAPAB from the server to determin what modes we know about
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2781 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-06 19:26:42 +00:00
Adam-
308070e019
We now store a list of users using a NickCore in the NickCore, this prevents having to loop every user all the time to find them
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2780 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-04 23:49:27 +00:00
Adam-
3d4cf39940
Only set necessary modes on people, eg dont set +qaohv.. unnecessary
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2779 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-02 03:21:03 +00:00
Adam-
122dcd082a
Added options:botmodes to configure what modes BotServ bots should use in channels
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2778 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-02 03:20:58 +00:00
DukePyrolator
aa4b3e2563
replaced the alog() command with a new type-safe and stream-based Alog()
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2777 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-31 06:15:29 +00:00
Adam-
47504c9de5
Fixed db-convert and enc_old to work when converting databases using enc_old
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2776 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-24 23:15:08 +00:00
Adam-
0ed0fa4af6
Rewrote how Anope stores channel status modes on users.
...
This allows 3rd party modules to add and track their own status mode.
Additionally we now store a users status in both the UserContainer and ChannelContainer.
This also fixes the ModeStacker to not send any mode strings unnecessarially and shuffles some code
around so we don't have to manually remove channels from users lists everywhere.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2775 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-21 06:31:17 +00:00
DukePyrolator
15817208aa
fixed a compile error on windows
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2765 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-16 20:15:14 +00:00
Adam-
ff13d00eb5
Removed c_userlist and u_chanlist, replaced with std::list
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2764 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-16 06:57:14 +00:00
Adam-
aaf1cefd1c
Added channels.h and moved channel stuff from services.h to it
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2763 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-16 06:56:57 +00:00
Adam-
c4c1242ac7
Fixed bug #1135 - Don't kick or ban ulined clients
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2762 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-15 19:30:11 +00:00
DukePyrolator
f432789853
some code cleanup in enc_sha256
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2760 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-15 18:07:41 +00:00
DukePyrolator
1cf1f044fb
burned helpserv from README
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2759 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-15 05:40:26 +00:00
Adam-
525dfe12e6
Added param arg to ChannelModeSet/Unset events, and fixed it to not ignore status and list modes
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2758 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-14 21:30:38 +00:00
Adam-
0d6fa568ec
Use commasepstream in do_join and do_topic, much cleaner
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2757 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-14 21:30:15 +00:00
Adam-
fadc61f89e
Fixed crash caused by r2732 caused by adding someone to the exception list
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2756 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-14 21:29:39 +00:00
Adam-
711787b54d
Burned do_sjoin and rewrote it to be sane. This changes how Anope handles new channel creations drasitcally as we now truely track it all instead of hack around it by not initially tracking user joins to new channels
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2755 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-14 21:29:08 +00:00
sjaz
f2c44c67b5
Update copyright for CBX
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2754 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11 20:28:59 +00:00
pimpmylinux
0a61c06860
updated copyright info for 2010
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2753 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11 19:36:24 +00:00
pimpmylinux
ef442c3dc8
some language fixes ported from stable
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2751 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11 19:06:21 +00:00
Adam-
420b11a235
Rewrote the os_staff command to work properly with the account system. This also fixing displaying users on opered nicks when not on their main nick
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2749 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11 18:36:04 +00:00
Adam-
5ad60b70ee
Forward port of r2747
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2748 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11 14:28:48 +00:00
Adam-
b73210e538
Rewrote the code that handles and sends kicks
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2746 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-10 22:56:03 +00:00
DukePyrolator
01d43e7db5
changed enc_sha256 to use random salts instead of a hardcoded salt
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2745 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-10 19:58:32 +00:00
DukePyrolator
20b5056315
changed the source argument of enc_decrypt to const
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2744 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-10 19:56:16 +00:00
DukePyrolator
d66e928529
services will now send the correct message on /cs invite <nick>
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2742 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-09 19:35:01 +00:00
DukePyrolator
4ae43c7dd2
added a salted sha256 encryption module
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2741 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-09 08:56:58 +00:00
DukePyrolator
5e62e8f22e
changed all password fields to std::string and reworked the way how the enc modules handle the passwords
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2740 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-09 08:49:00 +00:00
DukePyrolator
a4b015b39d
fixed a crashbug in os_ignore on db saving and cleaned up the db code in hs_request
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2739 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-09 06:54:11 +00:00
Adam-
0761d4f74b
Fix crash caused by trying to add an akick to a channel when certain types of exceptions are set, this also fixes entry_match to match with case insensitivity, as bans/excepts/invexs arent case sensitive
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2738 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-06 22:55:21 +00:00
Adam-
e34448092e
Messaging service@server.name works again as it should
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2737 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-06 21:30:22 +00:00
Adam-
9124a3be53
Fixed windows build and cleaned up a few small things
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2736 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-06 20:09:48 +00:00
cyberbotx
b462814760
Changed 'char *' fields in BotInfo to 'std::string', cleanup of bots.cpp, changed many other functions to use 'const std::string &' arguments as a chain reaction.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2733 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-04 06:40:24 +00:00
Adam-
2708eea5d1
Removed NICKMAX and CHANMAX, replaced user->nick, c->name, and ci->name with std::string
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2732 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-04 05:45:58 +00:00
cyberbotx
f58026749b
Fixed base64 functions to be const safe until I can convert them to use std::string instead, also a little cleanup while I was in there.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2729 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-03 07:42:49 +00:00
Adam-
ed568f4750
Fixed db-convert to really convert vhosts
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2728 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-03 04:36:36 +00:00
Adam-
de824a599a
Fixed bug #1121 - Fixes a potential crash when a user changes hosts
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2725 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-02 08:21:12 +00:00
Adam-
a819cb0cc0
Rewrote the vhost code, and moved it to be part of nickalias instead of in its own list. This also fixes being able to steal other users vhosts with /hs on
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2724 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-02 08:20:59 +00:00
cyberbotx
3617d79788
Convert 'const char *' and 'char *' function arguments to 'const std::string &' instead, done in actions.c along with chain reactions in other files.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2723 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-02 04:55:43 +00:00
Adam-
657e1deb59
Added in new plaintext databases. Note: This currently has no automatic backup feature. Big thanks to Phil on this for mass scale testing
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2722 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-31 01:25:10 +00:00
Adam-
c595e6755d
Fixed not being able to restart if anope was started from outside of the directory it is in
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2721 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-30 23:18:16 +00:00
Adam-
4fd169b184
Added in support for permanet channel modes on non-registered channels
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2720 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-30 02:07:17 +00:00
Adam-
7665af27cd
Chnaged ChannelModeSet/Unset events to be able to block checks such as secureops and mlock, and made it so you can't set a mode already set or unset a mode already unset so the modestacker doesn't send modes it doesn't need to
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2719 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-29 23:16:10 +00:00
sjaz
df107dac1f
Fix small typo in services.conf - thanks Phil.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2718 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-27 19:20:26 +00:00
Adam-
bfd252b517
Send only the newly formatted users string to do_sjoin when using inspircd12, not the old one and the new one, as this implies the old users are parameters for modes, which makes mode manager unhappy
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2717 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-25 20:42:02 +00:00
DukePyrolator
90a500ffd6
fixed a small bug in the extensible class
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2716 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-25 19:11:04 +00:00
Adam-
80cbac3769
Replaced some static_casts related to modes with dynamic_cast - its a bit safer
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2715 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-23 08:41:22 +00:00
Adam-
f82640af7c
Fixed bug #1119 - Fixed a few help replies to respect the nickserv msg option when sending blank lines
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2714 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-22 23:59:06 +00:00
cyberbotx
77f0cd0c46
Change OperType's name to be ci::string instead of std::string, should hopefully make it so it doesn't matter what case is used in the oper blocks compared to the opertype blocks.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2713 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-21 02:30:14 +00:00
Adam-
7a7f1f8390
Rewrote part of extensible, it will now automatically unallocate memory for us so we don't have to manually delete it everywhere anymore
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2711 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-20 18:39:52 +00:00
Adam-
861fe9e7b3
Added BotInfo* sender arg to all of the User mode functions, changed IRcdProto::SendMode for channels to accept a Channel pointer and fixed unsetting users vhosts on Unreal
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2710 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-17 02:10:35 +00:00
Adam-
453963eeae
Moved /chanserv unban to its own module and added support for unbanning a nickname, this readds !unban nick
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2709 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-16 23:50:33 +00:00
Adam-
aad1a4ca8d
Hopefully this fixes detecting if Unreal sends a TS at the end of the mode string and removing it, which keeps it from being passed to mode handler
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2708 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-16 23:50:19 +00:00
Adam-
c6e3324b30
Made many of the functions in IRCDProto accept the relative object pointers instea of char* everywhere, and updated TODO
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2706 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-16 02:25:38 +00:00
robbeh
98aa38d800
Added !K trigger to kick people and updated Changes
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2705 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-15 21:31:53 +00:00
robbeh
f1c975c89f
Added a KB alias to ban to allow the !kb fantasy trigger
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2704 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-15 21:29:48 +00:00
Adam-
3beac16030
More work on db-convert, almost done. This also moves the bot section of the db above the chan section, so we can check if channel bot names are valid
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2703 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14 23:52:59 +00:00
Adam-
511c4b73d2
Updated docs/IRCD to reflect recent changes in the ircdvar struct, and made botinfo constructors set created time not bs_bot, db loaders will change it later if needed
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2702 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14 21:58:33 +00:00
Adam-
6f5bc22584
Did some more work on db-convert
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2701 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14 03:50:27 +00:00
Adam-
744d6d4030
Set the created time for BotServ bots correctly
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2700 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14 03:50:23 +00:00
Adam-
d4af97a7a7
Ripped out old databases
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2699 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14 00:56:58 +00:00
Adam-
710355fd2c
Don't allow mlocking/defconing modes such as beIohv
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2698 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-13 23:14:20 +00:00
Adam-
46c0d40009
Moved hostserv/set priv to commands, only check for HasCommand() when trying to execute commands and not HasPriv(), as Privs should never be necessary to execute any command
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2697 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-13 19:57:22 +00:00
Adam-
a7ac6a0ac7
Added in a modestacker and rewrote almost all of the remaining old mode code
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2696 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-13 19:32:19 +00:00
DukePyrolator
3a956c51be
do not show the NICK_INFO_FOR_MORE message when the user has no permission to do it
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2695 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-11 21:17:08 +00:00
Adam-
280dcc7597
Only show the user as online in /nickserv info if they are identified for the group of that nick
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2693 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-08 02:33:39 +00:00
DukePyrolator
37de1286fa
added a function to convert some mlock modes
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2692 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-07 22:30:43 +00:00
Adam-
4630ae454a
Added options:mlock in the config so you can set what modes should be locked on new channels
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2690 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05 22:12:48 +00:00
Adam-
42b8cfe404
Got rid of some now unnecessary code in config.c and moved Config.Opers.clear() to InitOpers where it belongs
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2689 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05 21:04:15 +00:00
cyberbotx
935c1974e8
Fix crontab script to correctly find services.pid, it's not in ~/anope/bin, it's in ~/anope/data.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2687 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05 16:27:35 +00:00
Adam-
f913188991
Added ci::string to run-cc.pl message filters, and fixed irc::string to display properly aswell
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2686 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05 06:11:23 +00:00
Adam-
eadf52caf2
Added ns_resetpass which can be used to reset user passwords by email, very useful if you're using encryption
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2685 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05 05:44:02 +00:00
Adam-
661755a199
Fixed crash when using smartjoin and assigning a bot to an +i channel, reported by Platzii
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2684 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-04 23:11:08 +00:00
DukePyrolator
17a4789c1c
some code cleanup
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2682 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-04 06:32:17 +00:00
Adam-
180ac9e4d2
Changed Extensible::Extend to not unnecessarially cast every pointer it recieves to char* and then to void*, but to just change it to void*. This allows storing of various things that the char* cast messed up, such as time_t etc
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2681 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-03 01:17:08 +00:00
DukePyrolator
d4b595fdb8
the database converter can now convert the operserv database
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2678 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29 20:55:41 +00:00
DukePyrolator
f9cd8c200c
the database converter can now handle a broken bot.db from 1.9.0
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2677 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29 09:32:32 +00:00
DukePyrolator
0557f090fb
fixed some bugs in the database converter
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2676 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29 08:31:44 +00:00
DukePyrolator
23b3382347
updated database converter
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2675 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29 07:56:35 +00:00
Adam-
a08b3ec592
Massive move of all of the Config variables out of global scope to the Config class
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2674 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-28 23:02:07 +00:00
Adam-
f6b823ade8
Set all of the default channel flags on new channels. Thix fixes persistant not being set on newly registered channels
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2673 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-27 07:41:21 +00:00
Adam-
4fac8d6a91
Foward port of part of r2668
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2669 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-25 21:38:50 +00:00
DukePyrolator
4f550d29aa
fixed a crash when a user connects without a vhost
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2666 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-24 06:19:32 +00:00
Adam-
68ef593292
Properly remove users on access lists that are below voice status when converting to XOP
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2664 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-24 03:05:38 +00:00
Adam-
24f7ffcf18
Remove the permanent channel mode from channels that are dropped/expired/etc
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2663 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-24 01:19:12 +00:00
Adam-
c3529b6129
Marked +l and +L on InspIRCd 1.2 as minus no arg
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2662 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-24 01:18:59 +00:00
DukePyrolator
c7893e471f
updated french lang file. patch provided by nemosphere
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2661 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-21 20:51:01 +00:00
Adam-
e514a3793d
Changed the mode param handling code to be more into the general mode handling code, this cleans up and fixes some small problems with mlocking params. This also helps clarify that the ChannelInfo mode functions are for mlock only. Also, this adds the OnMLock and OnUnMLock events which can be used to control if something can be (un)mlocked
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2660 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-19 01:53:03 +00:00
Adam-
68381e69d9
Fix compile errors on some compilers that did not like our overloaded operators << on std::ostream
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2659 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-19 01:52:52 +00:00
cyberbotx
aa421772e0
Make the correct folder be chmod'd on a *nix install of the tools directory (we got rid of installing the tools to a tools directory a long while back, now they go in the bin directory instead)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2658 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-18 13:02:22 +00:00
Adam-
5179a0a40f
Delete the correct entries from akick and badwords list when given a numlist
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2657 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-18 02:51:46 +00:00
cyberbotx
da8a1c7b60
Remove some CoreExports and add them in other places, fixed a few minor warnings under Windows build, made Windows build create a static library out of win32_memory.cpp and use that with everything instead of relying on it being compiled into everything (saves compiling time).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2656 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-18 01:05:12 +00:00
cyberbotx
e10fe1cd76
Removed some unnecessary casts, used C++-style casts over C-style casts, fixed a few warnings (one possibly fatal one).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2655 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-17 04:04:24 +00:00
Adam-
88330c07ad
Cleand up alot of the code in bs_badwords, made it much more C++-ish
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2654 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-17 03:15:31 +00:00
cyberbotx
88c0edc8f8
Fix the EXTRA_CONFIG_ARGS part of Config so it actually gets used, and doesn't get clobbered on no input.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2653 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-16 12:59:31 +00:00
Adam-
d82771900e
Made the 'Module compiled against current version of Anope' message debug only
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2652 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-16 02:38:46 +00:00
cyberbotx
7eadde9911
Possible fix for header dependency calculation causing CMake to freeze due to recursive including, fixed by removing my code to do that and letting CMake figure this out on it's own. Seems to work here, but might need testing still.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2651 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-15 21:14:11 +00:00
Adam-
8e8a1d96e4
Fixed potential segfault when deleting users from the access list by number, reported by Cronus
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2650 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-14 05:10:34 +00:00
Adam-
842b5609dc
Updated docs dir, specifically the IRCD and EVENTS file to be up to date with 1.9s new systems
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2648 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-13 23:52:37 +00:00
Adam-
960968b8cd
Made /nickserv group work properly with the new account system
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2647 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-13 02:56:47 +00:00
Adam-
9c6576f78e
Fix bug introduced in r2574 that would set passwords incorrectly when using enc_none
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2646 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-12 02:52:27 +00:00
Adam-
65628dfdec
Fix default OnSyntaxError subcommand to be the last param if its size is less than the minimum required for the command
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2645 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-12 00:28:09 +00:00
Adam-
848c0aaa21
Made Command::Execute's params const
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2644 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-12 00:28:05 +00:00
Adam-
d16f4930f4
Made Command::OnSyntaxError accept a subcommand parameter, we now give syntax error messages for subcommands (eg, cs_set) instead of giving the general syntax error for the main command
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2643 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11 23:43:02 +00:00
Adam-
30b7e50a43
Replaced all of the char* params in cs_set with ci::string so we dont use stricmp all over, and updated coding style
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2642 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11 07:57:03 +00:00
Adam-
0264072b53
Made disabling chanserv levels *really* disable them so noone can use them (even founder), and have the ability to set it to 10000 for founders.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2641 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11 07:20:44 +00:00
Adam-
0bd3141407
Made DefCon not use a ChannelInfo structure for saving its modes & params, it was ugly
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2640 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11 06:03:40 +00:00
Adam-
b9190ebc16
Moved alot of stuff to constructors and destructors, instead of having functions everywhere to create and destroy objects
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2639 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11 06:03:25 +00:00
Adam-
86e43f1f14
Added support for permanent channels. This supports both permanent channel modes and the ability to have BotServ bots stay in the channel to keep it open.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2638 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11 02:47:05 +00:00
Adam-
9d37cf1d5a
Made the Module::ServHelp() functions part of the event system
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2637 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08 23:43:51 +00:00
Adam-
458be36a32
Rewrote all of the old C style flag systems into a new Flag class which everything inherits from. This breaks reading and writing flags to the old databases (and probably many other things aswell) - Don't use it
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2636 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08 20:06:21 +00:00
Adam-
38ad96c57c
Fixed /chanserv help forbid to allow you to forbid unregistered channels
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2634 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08 19:53:05 +00:00
Adam-
1c1312624d
Rewrote BuildStringList to use std::list instead of char**
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2632 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08 18:00:54 +00:00
cyberbotx
608b63d979
Make CMake ignore the CMakeFiles directory, really only applies to Win32 build since it still allows in-source builds (unlike the *nix build).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2631 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08 15:42:38 +00:00
Adam-
9047b0347d
Made mlock_on, mlock_off, access, and akick private in ChannelInfo
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2630 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-07 21:46:58 +00:00
Adam-
029f39964b
Rewrote all of the akick code to be much cleaner
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2613 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-07 18:09:09 +00:00
Adam-
2ec83162d6
Added src/regchannel.cpp and moved the code from include/regchannel.h there
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2612 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-06 02:46:29 +00:00
Adam-
3317f406d2
Added /chanserv access view, which shows the access creator and last time used
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2611 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-06 02:08:15 +00:00
Adam-
95a017db9f
Dont allow sending empty mode strings in check_modes
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2610 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-05 13:35:09 +00:00
Adam-
187868def9
Removed trailing -'s on mode strings sent in check_modes
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2609 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-05 03:32:33 +00:00
Adam-
154b0ded37
Rewrote part of check_modes to keep it from sending empty mode strings
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2608 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-04 23:28:40 +00:00
Adam-
3125c632b5
Made the -nothird optopn work
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2607 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-04 00:34:57 +00:00
Adam-
921ddbd517
Added OnPreNickExpire and OnPreChanExpire events, which can keep nicks and channels from expiring
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2605 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-03 02:05:45 +00:00
Adam-
65deeaf1e6
Moved some of the news variables out of the news module so other modules etc can access them, if needed
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2604 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-03 02:05:38 +00:00
DukePyrolator
a1fe864c7f
check for umode +r before sending svsmode -r
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2603 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-02 06:04:27 +00:00
DukePyrolator
9a0b1efc24
added a way to load multiple encryption modules at the same and to switch between encryption methods
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2602 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-02 05:22:35 +00:00
Adam-
d2362719b2
Made do_nick return the user if I_OnPreUserConnect halts it if the user still exists, and removed unused defcon language string
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2600 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-30 17:13:50 +00:00
Adam-
987f371c0b
Removed channel passwords and added /chanserv QOP command to add additional channel founders, aswell as access level 10000
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2599 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-30 02:38:06 +00:00
Adam-
6a9fa9f4d2
Rewrote all of the defcon code, and moved most of it to os_defcon. This fixes defcon to have the ability to use modes introduced to Anope at a later time than on startup (eg, from the IRCd), amongst other things
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2597 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-30 01:04:13 +00:00
Adam-
5fc268b750
Added I_OnPreUserConnect, I_OnUserModeAdd, and I_OnUserModeAdd events
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2596 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-30 01:03:54 +00:00
Adam-
5b62682223
Changed the "nickserv/confirm" opertype command to a permission, and added "nickserv/drop" permission used to drop other users nicks
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2595 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-29 00:44:26 +00:00
DukePyrolator
0b64cbc1d2
renaming to guestnick was not working properly
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2594 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-28 22:12:36 +00:00
Adam-
fa622b4e9f
Remove NickServ timers from TimerManager if we need to delete them, not just from NickServs timers - Fixes segfault reported by phantomal
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2593 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-28 15:12:47 +00:00
Adam-
52593ef71b
Cleaned up some of the code in my last commit and made it a bit more consistant.. probably should have done this before but owell
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2592 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-27 13:19:01 +00:00
cyberbotx
9e48e683e7
Fix bug #1111 , BS KICK should properly handle the CAPS, FLOOD, and REPEAT options now.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2591 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-27 11:52:51 +00:00
Adam-
c64c2b6fd0
Rewrote part of chan_set_correct_modes and set Mode::ModeChar correctly
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2590 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-27 01:42:10 +00:00
Adam-
a491eed3ff
Added MinusNoArg to insp modes Ffj and unreal mode j
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2589 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 14:32:38 +00:00
Adam-
a43424dbb9
Added internal tracking of InspIRCd1.2 channel modes BFfjMPT and user modes BcdGHIkQRSW, also added tracking of Unreal3.2s channel mode j
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2588 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 06:32:47 +00:00
Adam-
13f92e03be
Document /ns confirm nick in /ns help confirm for services operators
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2587 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 04:13:07 +00:00
Adam-
6e3aa36876
Fixed passing invalid channel pointer to OnPartChannel if the last user in a channel parted, now we use NULL and just give it the channel name
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2586 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 04:12:54 +00:00
Adam-
7a429517af
added options:enablelogchannel config file option, which turns on the logchannel on startup. yay!
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2585 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 04:12:47 +00:00
Adam-
0e8de37778
Rewrote part of news system and moved it all to os_news.c. Removed src/news.c
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2584 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 04:12:34 +00:00
Adam-
338cb38ee8
Added 4 new events for (un)setting modes on channels and users
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2583 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 04:12:21 +00:00
Adam-
8330009373
Actually use the I_OnRestart event
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2582 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 04:12:13 +00:00
Adam-
5ab705b6fe
Fixed memos so identified users not on the nick's access list can send them
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2581 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25 04:12:08 +00:00
cyberbotx
a6c5207859
Move 1.9.1 TODO to Changes (as 1.9.1 was released), update Changes.conf, Changes.lang, and remove Changes.mysql (probably should've been done before 1.9,1's release, but better late than never).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2580 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-24 03:49:49 +00:00
sjaz
2361cb8d40
Couple of typos in hs_request. Thanks Fudge.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2579 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-23 10:04:53 +00:00
sjaz
d08461907c
Couple more typo's from Fudge, cheers!
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2578 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-22 11:10:16 +00:00
sjaz
fb997c5057
Fixed typo in example.conf. Thanks Fudge.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2577 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-22 09:12:07 +00:00
Adam-
6de7cb6eed
Added SUFFIXES .c .cpp .so to makefiles to clean up some of the code
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2576 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-20 21:39:13 +00:00
Adam-
624c5ba5b6
Fixed makesfiles to work on both bsd make and gnu make
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2575 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-20 21:05:51 +00:00
cyberbotx
0b3824c86a
Apply some changes based on possible "flaws" found with flawfinder.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2574 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-20 04:34:03 +00:00
cyberbotx
0d3ec454de
Fix a few things that bugged me when I was working on one of my own modules.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2573 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-18 21:10:39 +00:00
jantje_85
12ac162d9e
Fixed small typo in dutch translation.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2572 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-18 18:45:18 +00:00
Adam-
d935d3d1b8
Call I_OnUserConnect and display news before checking if the user should be killed by sessions, sessions checking can delete the user if the IRCd doesn't send QUITs on KILL which could cause a segfault
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2570 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17 20:24:10 +00:00
Adam-
b705f7eda6
Fix crash when trying to parse a USERHOST reply for a nonexistant user on Unreal
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2569 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17 18:33:25 +00:00
cyberbotx
00494c9020
dos2unix on files.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2568 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17 15:45:19 +00:00
Adam-
bbea1b5679
Give the proper error messages when trying to load/unload already loaded/unloaded modules, instead of just returning syntax error
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2567 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17 01:17:19 +00:00
Adam-
72fed4d9bb
Renamed OnServerConnect(Server*) event to OnNewServer, we have two OnServerConnect's which is slightly confusing...
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2566 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17 01:17:06 +00:00
Adam-
63f55fa78b
Made MOD_STOP returned from commands really halt processing (stops OnPostCommand event being called)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2565 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17 01:17:00 +00:00
Adam-
11709eade6
Use the most recent NickServ collide/release timer for a nick instead of using the old and rejecting new ones
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2564 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-17 01:16:55 +00:00
Adam-
3806cd8440
Fixed bug #1110 - Fixed tracking of NickServ collide/release timers to only attempt to delete real ones
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2563 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-16 17:38:21 +00:00
Adam-
f6510291aa
Fixed inspircd12.cpp to actually work
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2562 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-14 17:39:25 +00:00
cyberbotx
de917994f8
Fix CMake build generation, it was getting into an infinite loop due to the include of services.h inside of regchannel.h, will not happen now.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2561 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13 23:58:56 +00:00
Adam-
d3d64c27b1
Complete rewrite of everything associated with modes, this breaks saving and reading mlocked modes from the databases until the new databases are implemented
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2560 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13 21:26:38 +00:00
sjaz
1fd6685132
Bump for SVN Version 1.9.2
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2559 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13 17:06:06 +00:00
DukePyrolator
5a1bc6abb4
NICK_REG_PLEASE_WAIT and NICK_GROUP_PLASE_WAIT now show the seconds until you can register/group again
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2556 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13 05:01:24 +00:00
cyberbotx
0d88137738
Code style cleanup, replace static_cast<std::string>() with std::string(), slight updates to config reader from InspIRCd.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2555 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13 01:17:30 +00:00
Adam-
5bcb780c6d
Changed /ns confirm to not assume the user you are confirming owns the nick (have it ask the user for the password now), added nickserv/confirm opertype command value, and changed OnNickRegister event param to be NickAlias* not User*
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2554 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-12 20:56:23 +00:00
DukePyrolator
c79d189e89
fixed some bugs in ns_register.c
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2553 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-12 05:19:03 +00:00
Adam-
777c6cf073
Added OnPostDatabaseLoad event, which triggers after the cores databases have been loaded AND immediatly after a module is loaded *if* the core has already been loaded
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2552 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-11 15:31:34 +00:00
Adam-
f06eed9809
Fixed restarting Anope on Windows
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2551 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-11 15:21:55 +00:00
sjaz
5bfc23a07e
Removed proxy server from ulined servers in example config as more people use a client proxy scanner and this should reduce occurences of user servers being listed.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2549 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-11 12:39:07 +00:00
DukePyrolator
2896b388d7
on inspircd12, we now check for m_servprotect and give +k to our pseudo clients
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2548 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-11 04:15:32 +00:00
Adam-
ba62e7be62
Reset errno before calling strtol in bs_kick, it would sometimes not allow valid kick settings to work
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2547 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-10 16:21:50 +00:00
cyberbotx
193ab9605b
Disable Visual Studio warning 4100 (unreferenced formal parameter) during Windows build, otherwise we get thousands of completely harmless warnings which slow down the build process because they all have to be displayed.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2541 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-08 22:16:40 +00:00
Adam-
5d25bf4ac3
Removed OLDCHANGES from CMakes list of files to install, it doesn't exist anymore
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2540 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-07 22:42:02 +00:00
DukePyrolator
dd3cce64c3
added a new event OnUserQuit, changed OnPartChannel and OnUserKicked to send the part/kick message and fixed OnUserNickChange
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2539 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-07 10:33:28 +00:00
Adam-
fb5356ccbc
Destroyed Command::help_param* and rewrote the help part of os_news to be much better
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2538 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-06 21:54:55 +00:00
Adam-
6ac61a1852
Fixed '/chanserv help set secure' responce
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2532 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-05 21:06:12 +00:00
Adam-
70918d2a01
Reset +r on registered channels after a netmerge when our creation time is newer than what we recieved (TS reop)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2531 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-04 21:54:35 +00:00
jantje_85
f553583f36
Fix bug #1109 . Anopes now replies with proper PONGs to rfc compliant PINGs .
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2529 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-03 15:34:52 +00:00
jantje_85
b22091e8fa
Fixed TIME on InspIRCd 1.2.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2528 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-03 13:47:15 +00:00
Adam-
651aacd3e9
Fixed a typo introduced in r2523 causing NickServ kill to not work
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2527 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-03 03:39:12 +00:00
jantje_85
d02f03a7a8
Forward port of bugfix #1097 . CS FORBID now clears excepts & invites before banning everyone to avoid rejoin floods.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2526 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-03 00:54:51 +00:00
Adam-
dc4b9afebb
Properly remove old callbacks from modules internal list of callbacks list, and cleaned up some of the timers code
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2524 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-02 22:19:19 +00:00
Adam-
85b409df85
Removed NS_IDENTIFIED/NS_RECOGNIZED/NS_ON_ACCESS from na->status, it doesnt belong there anymore and doesnt work. Replaced nick_recognized() with User::IsRecognized() which returns if youre recognized for the nick you are on, not necessarially the account youre logged in for.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2523 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-30 21:50:32 +00:00
Adam-
383629d718
Fixed "make clean" to really clean up all the modules
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2522 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-29 00:41:56 +00:00
Adam-
f572827157
Removed old mod_version system for detecting module versions and replaced with the Module::GetVersion() function
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2521 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-27 21:20:56 +00:00
Adam-
9d87b0f923
Fixed the remaining commands to always show all users help and to appear in the command list
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2520 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-27 07:50:32 +00:00
Adam-
5695a8b595
Fixed bug #1108 . nickserv status now replies correctly and has been changed to reply with a 3rd parameter which is for the account name the user is logged in as
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2519 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 16:12:22 +00:00
Adam-
897f11e517
Clean up inspircd12.cpp from last commit
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2518 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 16:12:08 +00:00
jantje_85
f17c36c031
We no longer use authentication tokens with InspIRCd 1.2.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2517 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 14:49:06 +00:00
jantje_85
39960787de
Fixed +r not being removed on netmerge from previously ID'd users who now using an unregged nick.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2516 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 14:39:16 +00:00
jantje_85
43f85bf4f2
Fixed users not being validated if metadata is received, even though it s for a different nickgroup.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2515 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 14:07:37 +00:00
jantje_85
8011cd4f0b
Added missing part of #1107 patch. The last user to be introduced is now also validated.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2514 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 12:52:08 +00:00
Adam-
d8bd3afd76
Fixed bug #1107 . We now have support for IRCds that send auth after the initial NICK/UID command, and automatically reidentifying users from their account name on InspIRCd1.2
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2513 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 04:53:59 +00:00
Adam-
927d2717a9
Made User::CheckAuthenticationToken work properly when using any nick in a group
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2512 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-26 04:53:48 +00:00
Adam-
de7b668ad1
Removed the file name arg from MODULE_INIT
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2510 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-20 00:40:14 +00:00
DukePyrolator
396cee7d0d
partly fixed chanserv invite (it still sends the wrong message when inviting another user)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2509 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-17 05:35:43 +00:00
Adam-
fcf104f0ca
Really not send unknown command messages on non-fantasy commands
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2508 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-16 23:31:43 +00:00
Adam-
09b92517d0
Removed MOD_HEAD, MOD_TAIL, and MOD_UNIQUE constants
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2507 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-16 23:27:34 +00:00
DukePyrolator
e16a512699
don't send any error messages on unknown fantasy commands
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2506 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-16 17:26:33 +00:00
Adam-
68592b0445
Removed command position from Module::AddCommand(), it is no longer used because of OnPreCommand/OnPostCommand
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2505 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-15 21:00:51 +00:00
DukePyrolator
2ee049d7d8
fixed a small issue in inspircd12 support, introduced with the last commit
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2504 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-14 17:48:13 +00:00
DukePyrolator
b88a12f8e5
fixed inspircd12 support - now we send a TS6SID on BURST
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2503 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-14 17:40:47 +00:00
Adam-
f4cc123f16
Removed super admin requirement for operserv/umode operserv/oline and operserv/svsnick, and replaced with opertype command strings
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2502 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-13 03:58:37 +00:00
DukePyrolator
e3486a3e4b
fixed a crashbug on /ns set kill. thanks to Phantomal for reporting.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2501 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-12 18:39:07 +00:00
Adam-
5971c272be
Made elist_match_user match against users cloaked hosts
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2500 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-12 16:44:01 +00:00
cyberbotx
cc64a00216
Fix problem with CMake's auto-library search when being run on a subdirectory of src/modules, spotted with help from DukePyrolator.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2499 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-12 05:49:15 +00:00
Adam-
7ea66a37d5
Fixes bugs #1105 and #1106
...
Now properly track users host changes and keep users cloaked hosts saved in memory
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2498 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-12 03:32:47 +00:00
adam-
46030bbc7e
Correctly send modes string when introducing psuedo clients on InspIRCd
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2497 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-12 03:14:08 +00:00
Adam-
887c18a6bf
Foward port of Vipers os_oline fix in r2495
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2496 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-10 01:46:40 +00:00
Adam-
2f93b4225f
Added the OnBotPreLoad event to fix introducing StatServ
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2494 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-07 17:03:55 +00:00
Adam-
004d9c7b18
Fixed Makefiles to only suppress building when using run-cc.pl
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2493 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-06 04:02:36 +00:00
Adam-
1f6eff371d
Fixed the reply when an oper tries to view an unregistered nicks alist to be correct
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2492 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-05 20:05:47 +00:00
Adam-
a63502ff55
Change quit on kill value in inspircd1.2 protocol module to 0
...
This is actually an inspircd bug - only the uplink confirms KILLs with a QUIT, the other servers will not.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2490 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-01 00:32:36 +00:00
jantje_85
1f2206159e
Fixed segfault bug & check_modes() going insane over uninitialized variable.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2489 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30 21:40:46 +00:00
cyberbotx
9900f83d94
Fix chanserv.c to compile after DEFCON changes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2488 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30 20:54:30 +00:00
Adam-
1b4aec7bda
Add messages at the bottom of HELP telling you if you can/cant use the command and why, and what permission is required if there is one
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2487 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30 20:46:07 +00:00
jantje_85
586c8a70f4
Forward port of several DEFCON fixes:
...
- Fixed defcon not setting modes on newly created unregged channels and failing to force remove defcon-locked modes.
- Fixed MLOCK locked mode removal getting priority over DEFCON locked mode setting.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2486 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30 20:29:57 +00:00
Adam-
0a6d617073
Fixed problem introduced in last commit
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2484 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30 07:00:37 +00:00
Adam-
1348ef100e
Properly keep track of services enforcer clients internally, they should now quit when theyre supposed to!
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2483 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30 05:20:09 +00:00
Adam-
bcffb94eaa
Fixed an uninitialized variable in Timers that could make NickServCollide fail
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2482 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-30 03:09:08 +00:00
adam-
7161edab00
Replaced all references in the lang files of services admins and roots to services oper
...
Removed all of the "Limited to X" messages, and more unused language strings
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2481 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-29 04:13:26 +00:00
adam-
03d3216cfe
Removed OPER_HELP_OPER and OPER_HELP_ADMIN help entries, they are no longer used
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2478 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-28 22:15:23 +00:00
adam-
56a6cea0d5
Fixed idle time and signon time when whoising services clients on inspircd1.2
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2470 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-24 22:40:49 +00:00
pimpmylinux
3b7174319a
fixed typo. i apologize for being an idiot, i promise i will test even oneliners next time...
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2469 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-24 19:41:37 +00:00
pimpmylinux
1242eb5dc9
oops, sorry :(
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2466 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-24 19:27:57 +00:00
pimpmylinux
b0caa94985
fixed trying to delete sessions when a ulined server quits
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2465 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-24 19:22:32 +00:00
cyberbotx
4a91b12221
Really fix running Anope from another directory besides bin, and also fix running it from bin (apparently gdb makes the 0 argument in main() the full path, but outside gdb it's not the full path).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2463 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-23 21:50:55 +00:00
cyberbotx
c15707a018
Fix bug with User::SetRealname crashing when a user with a custom GECOS connects.
...
Fix handling of Anope's current directory, binary name, binary directory, and data directory. This also fixes using /os restart if run from outside the bin directory.
(The second fix above is a little hackish, should look into cleaning it up later.)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2462 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-23 18:58:13 +00:00
DukePyrolator
4bf22fa2e6
added more events
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2461 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-22 04:39:22 +00:00
adam-
bcf9852eec
Fixed bug #1095 , do not resend client introduction when using /botserv bot add and initialized chancount in BotInfo constructor
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2460 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-21 20:55:20 +00:00
cyberbotx
a17d3dc27e
Partial revert of r2449, my_memo_lang shouldn't have a char * parameter, const char * works just fine.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2459 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-21 19:38:10 +00:00
cyberbotx
0f3110e271
Fix build under Windows.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2458 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-20 02:49:09 +00:00
cyberbotx
6ce5c90619
Add a few items to outstanding issues in TODO, clean up a lot of warnings (not all, some require more widespread changes than this), and fix a few potential bugs.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2457 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-19 23:13:30 +00:00
DukePyrolator
6c62e39680
fixed a possible crashbug on botserv help set
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2455 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-19 19:54:10 +00:00
pimpmylinux
7916c7f393
updated italian nickserv and chanserv strings, more to come
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2454 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-19 14:12:51 +00:00
adam-
8d247130d4
Fixed a crash when using commands if HostServ is disabled
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2453 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-19 01:54:13 +00:00
adam-
89e05fb880
Changed /nickserv id to allow you to switch accounts without logging out first and /nickserv logout to log you out of your account and not check the nick
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2452 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-15 01:15:21 +00:00
adam-
ece55718e7
Set -r on nick change if appropriate and make nick tracking work correctly
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2451 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-15 01:05:52 +00:00
adam-
b9bf72c457
Set the correct opertypes on newly registered users
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2450 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-12 23:52:25 +00:00
DukePyrolator
577870bb45
fixed a crashbug on /hostserv activate
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2449 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-12 03:56:44 +00:00
rburchell
6b8728428b
Make this really work now. Promise. serv_uplink double setting needs to go away in the future.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2447 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-09 11:19:45 +00:00
rburchell
4d52274432
Introduce clients when we first see the uplink (i.e. successfully connected), not when the uplink has finished synchronising.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2446 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-09 11:03:41 +00:00
rburchell
9464b59137
Merge do_restart_services and services_restart().
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2445 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 17:18:21 +00:00
rburchell
d5cf78e6f7
Remove fatal_sockerror(), as nothing actually uses it.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2444 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 17:18:02 +00:00
rburchell
eeb7c9c36d
Also make use of synched state to introduce pseudoclients instead of blindly introducing them on connect.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2443 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 16:39:51 +00:00
rburchell
862011a3ee
Actually, make use of it now. Pseudoclients are introduced automatically if synched with uplink.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2442 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 16:39:36 +00:00
rburchell
4e76d13428
Remove SSYNC_UNKNOWN. All IRCds can report sync state, and for those that _really_ can't, we can find out via PING/PONG exchange anyway. We will be making use of sync state more shortly.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2441 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 16:39:14 +00:00
rburchell
51d869db57
ENDBURST support for inspircd(11|12).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2440 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 16:38:39 +00:00
DukePyrolator
64132f67c0
fixed a crashbug when adding a new botserv bot
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2439 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 12:45:20 +00:00
adam-
43d72713c5
Fixed some problems with sepstream when parsing one char tokens
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2436 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-08 04:06:03 +00:00
adam-
8df2076024
Clean up some of inspircds autoid code and make it not resend account name on nick change
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2435 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 22:04:47 +00:00
sjaz
ec398f6a55
Split off troubleshooting into its own file from FAQ and linked to the wiki for updates. (Thanks again Amanda)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2433 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 19:00:42 +00:00
sjaz
b6deabc55a
Updated FAQ to point to wiki for easy ongoing maintenance.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2432 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 19:00:10 +00:00
sjaz
dc261d9291
Missed pt.l in (Fixed wording in short description of CHANKILL from OS HELP)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2431 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 17:55:08 +00:00
sjaz
712b4a16be
Fixed wording in short description of CHANKILL from OS HELP except in ru.l because it's scary. (Thanks Taros!)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2429 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 17:49:48 +00:00
sjaz
c31e267403
Remove legacy windows installer scripts not used on 1.9 & obsolete epona2anope converter.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2427 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 17:15:55 +00:00
sjaz
0abb809226
Fix Makefile/CMakeLists.txt with the removal of mydbgen
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2426 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 17:09:06 +00:00
sjaz
3d2621349c
Removed unused MySQL files and am.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2425 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:58:06 +00:00
sjaz
8d621a71c9
dos2unix a couple more files.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2424 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:55:33 +00:00
sjaz
761d90e1d7
unix2dos docs/README to appease Windows.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2423 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:52:57 +00:00
sjaz
c72a70ffaf
dos2unix'd src/wildcard.cpp - Time to check for others!
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2422 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:45:21 +00:00
sjaz
05942ff9bc
dos/mac2unix'd docs/README and FAQ.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2421 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:41:17 +00:00
sjaz
20b3c6437b
Truncated version.log to remove 1.7/1.8 stuff.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2420 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:37:35 +00:00
sjaz
24a5bdf0e7
Updated FAQ to point to real URL. Thanks Amanda. <3
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2419 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:33:06 +00:00
sjaz
f28fa07f3b
Updated docs/README removing unsupported IRCDs on 1.9
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2418 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:31:40 +00:00
sjaz
1cc976960b
Updated docs/NEWS removing old 1.7/1.8 stuff for 1.9
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2417 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:29:56 +00:00
sjaz
a4bbe9908d
Removed docs/OLDCHANGES because it refers to 1.6/1.7 stuff not relevant to 1.9.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2416 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:27:06 +00:00
sjaz
1fc8b1dd60
Updated docs/MYSQL with 1.9 MySQL state of play.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2415 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:23:43 +00:00
sjaz
85515696e3
Removed nicktracking from example config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2414 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:08:07 +00:00
sjaz
0b92ee8d30
Updated Changes.* to remove legacy branch/irrelevant stuff.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2413 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 16:07:34 +00:00
sjaz
0fef23470c
Fix path to anope binary in example.chk
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2412 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 15:43:10 +00:00
sjaz
03f03a91ae
Minor typo fixes in example.conf
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2411 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 15:40:06 +00:00
DukePyrolator
1c33521c69
do not set mode +d on identify on inspircd
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2410 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-06 04:49:06 +00:00
adam-
52f55ef9a0
Reset +r on change to grouped nick
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2409 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-05 22:18:39 +00:00
adam-
06c26d468c
Remove unneeded escapes on characters in lang files
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2408 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-05 22:14:03 +00:00
adam-
45a35e61eb
Fix for bug #1091 , HELP can crash without optional services clients
...
enabled
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2407 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-04 19:31:47 +00:00
adam-
9801065683
Fixed two typos in bots.cpp that could cause crashes
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2405 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-04 16:37:02 +00:00
adam-
ce664a160b
Fixed autoid
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2404 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-04 01:56:14 +00:00
adam-
0d7e0274a4
Fix a crash in the ratbox protocol module when Numeric is not defined in the conf
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2403 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-03 23:42:20 +00:00
adam-
b8b891cc25
Fixed some memory leaks when setting vhosts on users
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2399 5417fbe8-f217-4b02-8779-1006273d7864
2009-08-01 08:16:27 +00:00
adam-
bec179c197
Removed some now unneeded and unused language strings
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2396 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-31 08:02:37 +00:00
adam-
10be3e9bb5
Fixed multiple problems with session tracking, read comments in users.c and sessions.c for more info
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2393 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-26 22:29:37 +00:00
cyberbotx
b2a57b0974
Changed params parameter of Command's Execute() from std::vector<std::string> to std::vector<ci::string>, seems to have no ill effects but may require some testing to be sure.
...
Also a few minor cleanups here and there.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2392 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-25 00:37:43 +00:00
cyberbotx
443654f15b
Changed subcommand parameter of Command's OnHelp() from std::string to ci::string, allows sub-help (like NS SET PASSWORD) to be called without requiring the subcommand to be sent by the user in all caps.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2391 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-24 01:47:47 +00:00
cyberbotx
99fe46de55
Implement case-insensitive versions of std::string, irc::string for RFC-style case-insensitivity and ci::string for ASCII-style case-insensitivity, code from InspIRCd. Not yet used, but adding it in to use with the help system initially.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2390 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-24 01:11:49 +00:00
adam-
6a975740b3
Fixed multiple issues with os_info, including changing the /cs oinfo syntax to work with the new fantasy system
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2389 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-21 20:54:17 +00:00
adam-
f8efdbf822
Added a new event for channels being deleted
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2388 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-21 20:52:29 +00:00
DukePyrolator
55d4d6084e
added 9 new events
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2387 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-21 03:32:49 +00:00
cyberbotx
cbec05c428
Fix for potentially undefined behavior in the Windows build, make the overloaded delete and delete[] operators check if the pointer is NULL before trying to use HeapFree(), thanks to Adam for pointing this out.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2385 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-19 07:24:57 +00:00
adam-
906580a463
Fixes a crash when renaming NickServ
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2384 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-18 19:32:24 +00:00
adam-
e0828bf69b
Fix a bug when trying to set BotServ bots as private
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2383 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-17 20:23:59 +00:00
adam-
49f1b9bc49
Fixed core clients to rejoin their assigned channels if killed
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2382 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-16 09:12:23 +00:00
adam-
81d05eb8a7
Initialize botinfo->flags on bot creation to fix some database problems
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2381 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-16 09:01:01 +00:00
adam-
17a09abb6d
Fixed crashes when an unidentified users nickcore gets deleted
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2380 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-16 03:51:00 +00:00
adam-
57e66618e7
Fixed ns_info to show opertype line when hidestatus is off
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2379 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-15 19:53:14 +00:00
adam-
23c654519c
Fixed elist_match_user to check against vhosts, patch from sergio
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2377 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-12 19:53:26 +00:00
adam-
e669382cab
Updated Polish language file, thanks to Szymek
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2375 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-11 18:54:05 +00:00
sjaz
4c244b5e06
Updated README
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2373 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-11 13:15:37 +00:00
adam-
9a9d93e9f0
Added ChanServ HELP CLEAR INVITES to documentation
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2366 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-10 05:33:34 +00:00
adam-
1d53afee3f
Remove channel founder status from users who logout
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2363 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-06 17:43:30 +00:00
adam-
d75238496b
Made pre-command channel sanity checks only apply to ChanServ and BotServ. Its not needed elsewhere and just causes issues
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2361 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-06 07:27:16 +00:00
adam-
4d19a783bd
Really fix bug #1088
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2355 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-02 19:02:35 +00:00
DukePyrolator
bd6a593b6c
reverted last commit
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2354 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-02 19:00:54 +00:00
DukePyrolator
d68b3c3b6d
fix for bug #1088 (missing check for null pointer). thanks to Obi_Wan for reporting
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2353 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-02 16:36:26 +00:00
adam-
e8c63b5f43
Fixed some spelling errors in Config
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2352 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-01 19:37:22 +00:00
DukePyrolator
da8ccdad19
fixed segfault on /nickserv logout <nick>
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2351 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-01 17:59:42 +00:00
DukePyrolator
d81068abc4
fix for bug #1087 . thanks to Obi_Wan for reporting and testing.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2350 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-01 17:36:48 +00:00
rburchell
5a9dd79ae8
Shuffle TODO, move a number of items from planned to 'future' stage to be a little more realistic. This scales down .1 and .2 to achievable chunks.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2349 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-30 19:41:33 +00:00
rburchell
6609f829f4
Example configuration for opertypes and oper blocks, initial version written by DukePyrolator with a little refinement and addition by me.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2348 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-30 19:32:54 +00:00
rburchell
8dc849d8de
No real need for another constant
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2347 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-30 19:32:16 +00:00
adam-
8c82d30112
Rename chanserv/access/change to chanserv/access/modify
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2346 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-30 19:25:57 +00:00
cyberbotx
77ad2c101c
Possible fix for issue with RequiredLibraries comment check in CMake generation.
...
Also include extra question in Config to ask for extra arguments to the build tool used.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2345 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-29 20:04:09 +00:00
adam-
7cf236ef51
Made globaloncycleup message and OnServerConnect use the correct server
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2344 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-29 06:18:30 +00:00
DukePyrolator
670f87a22a
removed include/encrypt.h from the Makefiles
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2343 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-29 05:20:00 +00:00
DukePyrolator
15687a7c9e
changed encryption modules to use the new module API
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2342 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-29 04:47:00 +00:00
adam-
712cbb540c
Add ability for fantasy to be disabled for some commands and strip the channel name from them
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2341 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-28 18:49:07 +00:00
cyberbotx
108cf5e60d
Possible bugfix for bug #1086 , specifically the issue with the inspircd12 sending ADDKILL from the servername instead of a SID or UID and with a negative expire time.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2340 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-27 18:28:26 +00:00
adam-
6b9c0fe4d9
Fixed cs_getkey to not require services oper
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2339 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-27 02:11:33 +00:00
adam-
6b5786aa37
Changed module callbacks to use new Timer API
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2338 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-26 20:01:26 +00:00
adam-
dc8f7923f4
Adds check for using commands on non-registered channels before the
...
commands are called
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2336 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-23 16:56:38 +00:00
adam-
59c1a509b4
Fix for bahamut protocol module to get the users IP when new users are introduced
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2335 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-23 08:22:06 +00:00
cyberbotx
dc65eca3d8
Update TODO to show timers having been redone thanks to Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2334 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-21 19:10:36 +00:00
sjaz
01b831c4c6
Fixes broken langfiles for NS HELP REGISTER (Cheers Adam-the-Awesome!)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2333 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-20 22:28:24 +00:00
sjaz
28d77b7ebe
Fixes multiple issues with HELP with non-identified nicks. (Thanks Adam!)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2332 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-20 22:27:44 +00:00
sjaz
b81d902a2e
Fixes issue with /NS INFO with non-identified users. (Thanks Adam!)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2331 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-20 22:27:06 +00:00
sjaz
9eea1444fa
Fixes issue with /NS CONFIRM with non-registered nicks. (Thanks Adam)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2330 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-20 22:26:30 +00:00
cyberbotx
1ee6c20e1e
Initialize the Bot flags value inside of BS BOT, fixes problem with BotServ bots on database load, patch by DukePyrolator.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2328 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-20 04:58:58 +00:00
cyberbotx
157dfbd5c6
Fix memory leak in NS SUSPEND, patch by Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2326 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-15 20:25:08 +00:00
cyberbotx
2cc4ace60b
Forward port of bugfix for bug #1082 from SVN r2322, remove check for NSModeOnID from NS UPDATE, it's not logical to check for NSModeOnID since you must be identified to use NS UPDATE anyways.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2323 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-12 03:11:29 +00:00
cyberbotx
fc78e51452
Make stristr() const-safe, replace post-increment on iterators with pre-increment, remove now unused variables, made my_memo_lang() in hs_request.c const-safe.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2320 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-11 20:28:06 +00:00
rburchell
8fa6752858
Cleanup of internals of new opertype stuff by Adam. Removes OS OPER and OS ADMIN, changes OS STAFF to be more helpful in their place.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2319 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-11 10:16:35 +00:00
cyberbotx
a68b5efe27
Added missing timers.h and timers.cpp from Adam, removed timeout.h and timeout.c.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2318 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-11 00:01:08 +00:00
rburchell
695644d0c4
New timer infrastructure, can be used inside modules. Replaces old ENFORCE/COLLIDE/inhabit timers, too. Patch by Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2317 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-10 22:29:59 +00:00
cyberbotx
c8c89c7af0
Remove events.h, should have been deleted in earlier patch to replace events system with the new one.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2315 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-09 03:15:38 +00:00
rburchell
9ff6ed2430
New events stuff, patch totally by Adam (aka Awesome).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2313 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-06 23:33:23 +00:00
sjaz
2eae738083
Patch to fix issue with /CS INFO (Thanks Adam)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2312 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-05 16:06:48 +00:00
cyberbotx
6bed75b41f
Fix issue with using static_cast instead of reinterpret_cast for Extensible, allows for more than just char pointers to be used for Extensible.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2311 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-03 22:14:19 +00:00
cyberbotx
426f72117b
Fix bug #1080 , changing core pseudo-client nicks in the config should register the change when the bots are brought back online, patch from Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2310 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-03 20:29:33 +00:00
sjaz
affc29aca5
Typo fix in ./Config
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2309 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-03 15:51:46 +00:00
cyberbotx
3bd357725a
Add SendSWhois() to inspircd12.cpp, patch by Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2306 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-31 03:01:07 +00:00
cyberbotx
08b3ef7d4e
Remove now unneeded checks for identified nick, patch by Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2305 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-30 00:44:21 +00:00
cyberbotx
deeec4fbf1
Typo fixing, spotted by DukePyrolator.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2304 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-26 04:33:44 +00:00
cyberbotx
7e8a7fc598
Make sure the .svn folder is removed when checking src/modules for subdirectories, spotted by DukePyrolator.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2303 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-26 04:26:35 +00:00
cyberbotx
c1bc7cbafc
Added ability for CMake to build a module from a subdirectory of src/modules.
...
Added calculate_libraries() CMake macro to condense library checking in CMakeLists.txt in src/modules.
Fixed slight problem with strip_string() macro call in root CMakeLists.txt.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2302 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-25 18:58:51 +00:00
sjaz
3fa978c958
Fix from Adam for a segfault in /NS ALIST
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2300 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-16 09:35:39 +00:00
sjaz
1f48897042
Patch to allow jupe on all bar uplink and self. Thanks Adam. (Bug #1076 )
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2298 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-08 15:10:52 +00:00
cyberbotx
feab2cb854
Move where command permission checking is done, patch by Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2296 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-07 23:59:11 +00:00
sjaz
2d050edb4e
Fix link to Link Block Generator on our site. Good find whoever it was :)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2295 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-07 17:35:41 +00:00
cyberbotx
dc102049b0
Adds check for opertype permissions to mod_run_cmd() in commands.c, and adds optional parameter to Command class constructor that takes the opertype permissions for the command.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2292 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-05 22:26:41 +00:00
sjaz
845b15ddd9
Fix segfault in /os chankill (Adam)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2291 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-26 16:40:36 +00:00
sjaz
b9d2e9c092
To document the use of /ms set notify mail and nomail. (Backported to 1.8 in r2289) (Adam)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2290 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-26 16:40:06 +00:00
sjaz
49512f902c
Patch to rectify Syntax output from langfiles. (Adam)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2288 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-22 18:12:36 +00:00
cyberbotx
3a6a3330ac
Fix crash if NS SET <anything> was used without a parameter, spotted and patched by Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2286 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-19 22:36:08 +00:00
jantje_85
086ae2c6ce
Forward Port of r2284: Don't enfoce akick/forbidden/etc.. settings on clients on ulined servers.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2285 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-17 22:48:13 +00:00
rburchell
3e9bd7583c
Check Command::permission in command handler.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2283 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16 20:29:21 +00:00
rburchell
fc4f89e079
Add Command::SetPermission member to centralise access checking. Remove duplicated comments at the same time.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2282 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16 20:28:52 +00:00
rburchell
723e3f2ce0
PERMISSION_DENIED -> ACCESS_DENIED string.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2281 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16 20:28:21 +00:00
rburchell
89883ac325
Remove finished extra
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2280 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16 20:26:43 +00:00
rburchell
89850c85a9
Remove unused modules_unload_all fini param
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2279 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16 20:26:24 +00:00
cyberbotx
d8e1f104a4
Show proper syntax errors on CS BAN and CS KICK, patch from Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2278 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16 02:18:07 +00:00
cyberbotx
76e83f613b
Remove 2 unneeded ternary operators, the result is the same with or without them, patch from Sergio.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2275 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-13 19:07:49 +00:00
cyberbotx
22b53ec9cd
Correct help for CS INFO and add syntax errors for cs_modes, patch from Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2274 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-13 00:35:55 +00:00
cyberbotx
dccb56a496
Copy Extensible::GetExtList() from InspIRCd, patch from DukePyrolator, plus 2 small cosmetic tweaks.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2273 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-12 05:08:59 +00:00
cyberbotx
1787a8ac27
Remove files from the modules runtime directory on startup, just in case files were left behind during a previous run. Suggested by DukePyrolator and Namegduf.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2271 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-11 06:55:40 +00:00
cyberbotx
a2b1284aac
Fix more problems with help, patch from Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2270 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-10 02:16:07 +00:00
cyberbotx
7b6a109100
Added missing help to BS ACT, patch from Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2269 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-10 01:52:09 +00:00
cyberbotx
56464bbdd8
Fix crash in mod_help_cmd when a non-existing command is looked up, spotted by Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2268 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-10 00:10:27 +00:00
cyberbotx
87ecbec79d
Remove all remaining uses of (My)SQL from the code.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2267 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-07 05:31:14 +00:00
cyberbotx
578da38d30
Replace Set*Help() functions with virtual *ServHelp() functions that can be overriden in a module's Module class. Patch from Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2266 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06 21:25:56 +00:00
sjaz
fbb1ab9246
Patch to make changing bots not send multiple QUIT commands (Thanks Adam).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2265 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06 16:40:07 +00:00
sjaz
cd034d6935
Patch to allow NS CONFIRM and NS RESEND to be used by non identified users. (Thanks Adam)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2264 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06 16:37:02 +00:00
sjaz
af85de47c7
[ #1039 ] Patch to update documentation on CS RESTRICTED to reflect historical behaviour. FORWARD PORT from 1.8. (Thanks Adam for both!)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2263 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06 16:32:40 +00:00
cyberbotx
178def8291
Remove is_services_admin() check from cs_enforce to allow build to succeed.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2261 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04 02:38:38 +00:00
cyberbotx
9f20b2f7dd
Removed is_host_setter() and is_host_remover() from code and replaced them with opertype priv "hostserv/set", removed <hostserv:hostsetters> from configuration.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2260 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04 01:27:18 +00:00
rburchell
df627065ac
Marking these volatile isn't a lot of use, and it is confusing.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2259 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04 01:15:13 +00:00
rburchell
ad77b5ee2d
Remove various uneeded priv checks.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2258 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04 01:09:07 +00:00
rburchell
146ecc2fbb
Remove is_services_* methods.. this forces us to actually remove uses of them.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2257 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04 00:52:25 +00:00
rburchell
36f523249a
Fix access checking in core
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2256 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04 00:49:50 +00:00
rburchell
b0b8e70442
Fix access checking on ns_*
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2255 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04 00:49:11 +00:00
cyberbotx
2dba060c6a
Patch from DukePyrolator to include an OnUserNickChange() event to replace EVENT_CHANGE_NICK, also patch from me to have the ratbox protocol module send account data on login and logout.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2254 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 21:16:33 +00:00
cyberbotx
a7316c1770
Fix ratbox protocol to use TS6SID for sending (UN)RESV, and fix m_privmsg to correctly find the core pseudo-clients if the IRCd sends a UID instead of a nick.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2252 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 18:36:10 +00:00
rburchell
a6f0b5e8d4
Don't generate UID twice in ratbox protocol module. This is a leftover from before the core generated UIDs.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2248 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 17:37:15 +00:00
cyberbotx
821c6ac90b
Reintroduce sending login/logout account messages, they were added back in SVN r1944 but went poof with the command API change.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2247 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 06:53:40 +00:00
cyberbotx
aab6dad14f
Fix compile error in ru.l due to lack of tabs in an earlier commit.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2246 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 06:01:56 +00:00
cyberbotx
6280432bc7
Fix bug #1047 , patch from Adam, fixes documentation of CS CLEAR OPS.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2244 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 02:50:14 +00:00
cyberbotx
6d97b7f8f9
Fix bug #1045 , patch from Adam, suspended channels can no longer be administered, and control over checking forbidden and suspended channels has been moved out of the modules and into the core.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2243 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 02:42:06 +00:00
cyberbotx
c6ef1e0390
Added service argument to OnPreCommand, added OnPostCommand event, changed the following modules to use On[Pre|Post]Command instead of hooking into existing commands: hs_request, ns_maxemail, and os_info.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2242 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03 00:16:15 +00:00
rburchell
48ef6617ac
Remove capability for commands to hook existing commands, add an OnPreCommand event instead. Tidies up a lot of stuff. Also remove a bunch of dead code.
...
NOTE: This will break some stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2241 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02 22:59:27 +00:00
rburchell
ef400fa6dc
Remove restrictgetpass option from the conf
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2239 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02 20:35:44 +00:00
rburchell
93baed333f
Remove rootmodeonid, opermodeonid, adminmodeonid - unused, and utterly useless/bad.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2238 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02 20:33:28 +00:00
rburchell
e9e5ccc891
Remove NSRestrictGetPass, and replace it with opertype usage.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2237 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02 20:27:47 +00:00
rburchell
d37f569188
More miscellaneous bits.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2236 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02 20:24:08 +00:00
rburchell
a39137e271
Fix up a bunch of access checking to be a bit more modern and so on
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2235 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02 20:21:43 +00:00
rburchell
25050df434
Apparantly I forgot to update some language files.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2234 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02 20:18:22 +00:00
rburchell
b79c68d829
Change some stuff to use NC::IsServicesOper instead of is_services_*.
...
Remove some unused language strings also.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2233 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-01 23:32:06 +00:00
rburchell
6712748378
Boink.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2232 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-01 20:07:47 +00:00
rburchell
3cdca9e47a
Replace nick_is_* checking of static userlevels with NickCore::IsServicesOper, which just confirms they have *an* opertype.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2231 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-01 19:56:40 +00:00
cyberbotx
e57feb4ef6
Removed NICK_INFO_SERVICES_[OPER|ADMIN|ROOT] from the language files and added NICK_INFO_SERVICES_OPERTYPE to them. NOTE: This will break compiling until the removed language strings are replaced in ns_info.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2230 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-01 19:55:01 +00:00
cyberbotx
4ef30a4de9
Fix compile error in servers.c.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2229 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-31 17:03:50 +00:00
rburchell
76755725e5
These are (now) horribly out of date. When we're ready to implement what ones we need, we can grab them back out of SVN (or more likely just do them from scratch..)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2228 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-31 14:51:27 +00:00
rburchell
8a01e21a48
Send snotice after connecting to the network. Also change OnServerConnect to take Server*, not a name.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2227 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-31 14:44:33 +00:00
rburchell
ab9c1e4651
Fix ss_main's client introduction.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2226 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-31 14:43:04 +00:00
cyberbotx
fdfc12f398
Detach all module hooks when a module is unloaded, patch from DukePyrolator, thanks for spotting this!
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2225 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30 18:27:01 +00:00
rburchell
ba8f609eb0
Yet *neither* send HOST_OFF here..
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2224 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30 10:08:36 +00:00
rburchell
114b2d4989
Needed to apply this to 1.2 too, oops.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2223 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30 10:07:50 +00:00
rburchell
2d270cd0bf
Forward-port Szymek's vhost patch.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2222 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30 10:00:58 +00:00
cyberbotx
89c2c02904
Fix bug #1073 , fantasy commands in CTCP ACTIONs will now be ignored instead of processed.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2217 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30 06:15:58 +00:00
sjaz
6245821dfe
#1042 Fix for CS SUSPEND/FORBID so that it doesn't act upon opers on rejoin. Thanks Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2216 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-29 21:15:15 +00:00
sjaz
0430fbf861
#1058 Patch to fix HS REQUEST memo to include ident. Thanks Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2215 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-29 21:12:09 +00:00
cyberbotx
007b73e5a9
Fix bug #1036 , patch from Adam, correct the kick reason used when a channel is forbidden or suspended without a reason.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2214 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-28 16:22:49 +00:00
cyberbotx
7ec6b68e84
Fix bug #1032 , patch from Adam, the help for CS GETKEY has been condensed and the return result of the command is a human-readable string.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2213 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-28 15:42:14 +00:00
rburchell
7a92feb474
Regenerate UID on BOT CHANGE, don't try reuse an existing one.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2212 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-27 23:03:21 +00:00
rburchell
601c546957
Fix protocol violation error.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2211 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-27 22:53:16 +00:00
sjaz
3f57c91613
Bug #1061 - Fixed minor typo in English Langfile.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2210 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-27 20:16:56 +00:00
cyberbotx
3d4fb90353
Fix potential crash problem with use of free() instead of delete[] from earlier bugfix of bug #1054 , also remove item for * help set from TODO as it's been fixed.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2209 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-27 15:56:16 +00:00
cyberbotx
5c325b5d12
Slight cleanup on TODO, move item about oper flags into 1.9.1 and move the ?'s inside the brackets for consistency.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2208 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-26 03:48:50 +00:00
cyberbotx
60b18508e0
Fix problem with CMake under Windows, spotted by therock247uk on the forums, CMake now checks for the environment variable VCINSTALLDIR (only set in the Visual Studio command prompt) and also fixes the check for #ifndef.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2207 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-25 17:36:47 +00:00
cyberbotx
8fc031fb84
Fix bug #1009 , patch inspired by DukePyrolator, add a TS6 SID generator from DukePyrolator, as well as change SendServer() to take a Server struct and use the result of new_server() in the SendServer() call instead.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2206 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-25 16:12:24 +00:00
cyberbotx
d8c4e705a2
Fix bug #1066 , language strings for NICK_SET_HIDE_SYNTAX, NICK_SASET_HIDE_SYNTAX, NICK_HELP_SET_HIDE, and NICK_HELP_SASET_HIDE all show STATUS as a choice now.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2205 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-24 01:38:27 +00:00
cyberbotx
3495e8a575
Fix parameters of NS SET within ns_maxemail so it doesn't break ns_set's version of it.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2204 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-24 01:24:04 +00:00
cyberbotx
b7a995c1f1
Allow a core Service's ident, host, and real name to be changed, but disallow changing their nicks. Fixes the BS BOT CHANGE part of bug #1070 .
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2203 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 21:59:11 +00:00
cyberbotx
807770c40a
Patch from Adam, fixes logging and notices regarding recent channel access list change.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2202 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 21:07:30 +00:00
cyberbotx
b3eeb815b6
Replace manually allocated array for NickCore's access list with an std::vector, cleans up the code and provides a more sane interface, also fixes bug #1023 in the process.
...
Also add missing help for NS ACCESS.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2201 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 21:05:29 +00:00
cyberbotx
da43e02228
Partial fix for NS REGISTER not displaying syntax error if only 1 argument is given, not completely fixed due to how OnSyntaxError is called, problem spotted by DukePyrolator, thanks!
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2200 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 18:30:30 +00:00
cyberbotx
ca28b7c1b3
Patch from DukePyrolator, allow unregistered users to use NS GROUP.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2198 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 05:07:52 +00:00
cyberbotx
da4ce1788f
Patch from DukePyrolator, only show the message about using NS INFO ALL if the user hasn't used NS INFO ALL.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2197 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 05:07:43 +00:00
cyberbotx
190a3de3b9
Fix bug #1044 , CS SET MLOCK no longer requires a parameter, and leaving out the parameter renders the mlock to +r as it should be.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2195 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 04:54:30 +00:00
cyberbotx
ce09914e1d
Fix part #2 of bug #1010 , patched partially by Adam and cleaned up / finished by me, the help commands should work as expected now, including "help set ..." and similar help entries.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2194 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 04:29:25 +00:00
cyberbotx
656cc9973e
Fix bug #1065 , patch from DukePyrolator, force a user off a nick when it is suspended.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2192 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 02:51:05 +00:00
cyberbotx
a9ced70eed
Add opertype access checks to OS QUIT, OS RESTART, and OS SHUTDOWN, patch from Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2191 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 00:55:22 +00:00
cyberbotx
5b988a5e17
Fix bug #1033 , patch from Adam, fixes the documentation of CS BAN.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2190 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 00:50:32 +00:00
cyberbotx
5fe4d0f43d
Fix bug #1064 , patch from DukePyrolator, fixes NS RECOVER so it doesn't display "(null)" in some places.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2188 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 00:40:32 +00:00
cyberbotx
96f98ebbb6
Really fix bug #1062 , patch from Adam, BS ACT and BS SAY should no longer send revealing error messages to users without access.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2186 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 00:30:16 +00:00
cyberbotx
d6522b5220
Fix bug #1062 , patch from Adam, BS ASSIGN should no longer show revealing error messages to users without access.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2185 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 00:16:04 +00:00
cyberbotx
3ff8e96e14
Replace manual array for ChannelInfo's access list to use an std::vector instead, cleans up the code by a huge portion and fixes bug #1024 in the process.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2184 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23 00:06:40 +00:00
cyberbotx
5d56ed0158
Fix bug #1030 for 1.9.x, patch by Adam, plus cosmetic tweaks, deleting from the channel access list now logs a message about the deleted items.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2179 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-20 02:22:12 +00:00
cyberbotx
497aa0c012
Fix bug #1043 , patch from Adam, CS LIST will no longer show suspended channels to normal users.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2178 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-20 02:21:58 +00:00
cyberbotx
a7189482f5
Show access denied if you do not have access to CS SUSPEND, patch from Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2177 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-20 02:21:32 +00:00
cyberbotx
26e09b3b7f
Partial fix for bug #1038 , patch from Adam, NS OINFO and CS OINFO now properly set a new oinfo line.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2176 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-20 02:21:02 +00:00
cyberbotx
e78066213a
Fix bug #1041 , patch by Adam (with coding style tweaks by me), CS LOGOUT should work as expected now.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2174 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-17 02:56:05 +00:00
cyberbotx
610dbf5c92
Fix bug #1054 for 1.9.x, patch from Adam, Anope no longer shows the entire message that was ignored, now it only shows the command that was used.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2173 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-17 02:55:53 +00:00
cyberbotx
0892ef1361
Fix bug #1040 , patch from Adam, CS INVITE not displays messages for successful invites and failed invite due to being in the channel already.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2172 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-17 02:55:46 +00:00
cyberbotx
adca908bce
Remove variable shadowing in os_oline, patch from Phenoix.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2171 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-16 15:37:02 +00:00
cyberbotx
d93c79358e
Remove variable shadowing in ms_rsend, patch from Phenoix.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2170 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15 23:05:44 +00:00
cyberbotx
7d0b69b94b
Correct a set of potential security holes in varags usage in ns_sendpass, patch from Phenoix.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2169 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15 23:05:34 +00:00
cyberbotx
8cc5b194d4
Correct a set of potential security holes in varags usage in ns_register, patch from Phenoix.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2168 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15 23:05:23 +00:00
cyberbotx
89e63ed395
Remove variable shadowing in ms_send, patch from Phenoix.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2167 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15 23:05:10 +00:00
cyberbotx
c01cd051c3
Patch from Phenoix to correct a set of potential security holes in varargs usage.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2165 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15 00:39:59 +00:00
cyberbotx
b6c2d8b52e
Fix but #1050 , MS STAFF's syntax shows correctly, required adding a language string as well, currently they are all English until they can be properly translated.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2164 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15 00:12:59 +00:00
cyberbotx
68ff62f6e3
Fix bug #1056 , patch from Adam, BotServ kickers should now ban for like it should.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2163 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14 23:23:52 +00:00
sjaz
4f4b42562a
Fixed typo on operserv which was stopping opersonly working. Good find Adam. (You do pick up the weirdest of things ....)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2162 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14 19:06:23 +00:00
sjaz
0a2b6b9573
Amended error message from "server numeric" to "server id" as per discussion on
...
forum to avoid confusion. (We might want to think about this in the long term but
for now, this will help reduce confusion).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2161 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14 18:24:48 +00:00
sjaz
6ac077e2cb
Updated langfiles for /CS HELP INVITE to show that you can only invite yourself. ALL done in English until we can establish a means of maintaining the langfiles reliably and properly.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2160 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14 18:20:21 +00:00
sjaz
d2fd84d41f
Fix for bs badwords deletion. Good find Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2159 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14 17:50:39 +00:00
cyberbotx
ea5245f416
Fix bug #1055 , keetopic != keeptopic.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2158 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14 12:55:00 +00:00
cyberbotx
40005c5029
Fix bug #1035 , patch by Adam, now bans set through CS ENFORCE can be removed through CS UNBAN or CS CLEAR BANS.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2157 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14 01:17:55 +00:00
cyberbotx
8974008304
Really corrected CMake version checking.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2156 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-11 23:05:21 +00:00
cyberbotx
29b9577bd2
Fix the CMake generation to work with older versions of CMake 2.4.x, cleaning up some of the macros and also correcting the code to detect what version of CMake is in use.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2155 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-11 20:10:00 +00:00
cyberbotx
174bb94648
Fix bug #1020 , +f and +L parameters are read from and written to the database regardless of what the IRCd says it can handle, as the databases are loaded prior to Anope connecting to the IRCd and the InspIRCd protocol modules default to saying +f is a mode they don't support until after Anope connects to InspIRCd.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2150 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-09 03:21:33 +00:00
cyberbotx
3b634c3770
Fix /cs set mlock to not use strtok, which wasn't working due to the change in the command API to not use strtok at all, indirectly found because of bug #1020 (which was for 1.9.0 where /cs set mlock functions properly).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2149 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-09 03:14:27 +00:00
cyberbotx
4184b7df44
Fix bug #1025 , the message for "no such entry" should show whatever was number passed in to the command, not -1 every time.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2148 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-09 02:41:13 +00:00
cyberbotx
4ddc1cebd1
Fix bug #1028 , the *_getpass and *_sendpass modules will now refuse to load if the given encryption module is unable to do decryption.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2147 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-09 02:35:59 +00:00
cyberbotx
54762245b8
Fix bug #1027 , properly send a Globop on CS DROP, patch provided by Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2146 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-08 03:10:21 +00:00
cyberbotx
63e8a8f6c2
Fix slight warning that comes up with gcc 3.4.x but not 4.2.x, this should be done anyways.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2144 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-07 03:06:05 +00:00
cyberbotx
16bd616604
Fix bug #1026 , Anope shouldn't crash on /ns set greet now, was just a small but fatal typo.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2143 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-06 23:26:20 +00:00
cyberbotx
9a97a0b3cf
Fix bug #1022 , the problem was inspircd12 specific and the pseudo-clients will now respawn.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2142 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-03 15:30:36 +00:00
cyberbotx
7a1217e97c
Fix typo in inspircd11 module preventing it from connecting even if m_hidechans is loaded on InspIRCd.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2141 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-03 15:13:51 +00:00
cyberbotx
efcd7636dc
Force locale to C so messages from gcc don't get translated, thanks to DukePyrolator for spotting this.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2140 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-02 21:05:05 +00:00
cyberbotx
c6f4b95131
Added a strip_string function to Anope.cmake, cleaned up other parts of Anope.cmake, added better find function for #include lines, added functionality for CMake to auto-detect includes in non-standard locations.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2139 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-02 01:33:47 +00:00
rburchell
6794273f7d
Oper restrictions on memoserv commands.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2138 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28 17:32:44 +00:00
rburchell
e8ce6e0b10
Missed converting this to opertypes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2137 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28 17:31:16 +00:00
rburchell
a07fd592cb
Remove CSRestrictGetPass, it is unneeded with the introduction of opertypes. [Adam]
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2136 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28 00:50:04 +00:00
rburchell
bd7f4f8c49
Patch from Adam, reducing duplication in cs_modes. Untested.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2135 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28 00:49:37 +00:00
rburchell
090107db5f
Add access checking to cs_* modules. Also change number of arguments for cs_modes commands.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2134 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28 00:48:36 +00:00
pimpmylinux
f2fb7ef53f
fix inspircd sending broken UID message when introducing its clients
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2133 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-25 15:26:57 +00:00
cyberbotx
36de15de5e
Fix SendAkill() in inspircd* modules, they were sending the wrong timestamp (instead of sending the current time, they were sending the time of the akill's creation).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2131 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23 03:18:38 +00:00
cyberbotx
ab6ee16aa2
Updated inspircd11 module to look for m_hidechans.so module and updated inspircd12 module to also look for that module as well as error if m_globops.so isn't loaded.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2130 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23 02:49:54 +00:00
cyberbotx
48560524a3
Fix slight CMake issue where it wasn't including win32_memory.cpp with protocol modules.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2129 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23 02:21:07 +00:00
cyberbotx
a5206c33b9
Fix slight linking error in Visual Studio, spotted by Brandan.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2128 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23 02:01:46 +00:00
cyberbotx
419b4c8002
Fix odd crash bug in the inspircd* modules by replacing use of myStrGetToken with spacesepstraem, also fix a problem on Windows with not having FD_ZERO in the sgets() function before FD_SET is called, both spotted thanks to Brandan.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2126 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23 00:58:46 +00:00
cyberbotx
9123489c32
Added Anope.cmake, moving all my CMake macros into it.
...
Fixed CMake error when CMake older than 2.4.8 is used, there is no 'touch' command in cmake -E, spotted by Adam.
Fixed Config to auto-detect CMake and revert to configure if CMake isn't found.
Fixed install.js on Windows to show errors in running CMake and detect if there were errors.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2125 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-22 22:25:15 +00:00
rburchell
fa0d664063
Forward port of patch by DukePyrolator fixing memory leak on +beI modes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2124 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-22 17:20:30 +00:00
rburchell
c3f28223f8
Also allow RECOVER/RELEASE, reported by Adam and Raff7.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2123 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-21 22:19:40 +00:00
rburchell
8d05e8510f
Allow NS GHOST from an unregistered sender, reported by Raff7.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2122 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-21 22:16:44 +00:00
cyberbotx
1707cf3dd3
Fix cs_access not displaying syntax errors and having a signed vs unsigned bug, spotted by Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2121 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-21 01:25:37 +00:00
rburchell
bb666ab902
Fix missing variable.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2120 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19 21:59:56 +00:00
rburchell
7723437a81
Fix a few warnings. Also move split_usermask into cs_akick, as this is the only place it is used.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2119 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19 21:59:31 +00:00
cyberbotx
805253de36
Preliminary support for a module source file (within src/modules) to include a comment saying it requires certain external libraries and having CMake search for the library automatically.
...
Note: This sorta works for both *nix and Windows, probably *nix more-so than Windows, but this needs some cleaning up. It does work as is, though.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2118 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19 04:03:13 +00:00
rburchell
40680e2535
Fix ns_update, thanks DP. Fix two compile errors.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2117 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19 00:23:50 +00:00
rburchell
c917ca5a34
Remove (and neuter) old event system. Not used by anything in core.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2116 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19 00:23:14 +00:00
rburchell
23f5e9de79
Move last of events that are in the core distro over to newevents.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2115 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19 00:22:46 +00:00
rburchell
6c1d764c4f
Fix problems with registration being denied, thanks Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2114 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18 23:54:17 +00:00
rburchell
2b0914ae36
Add OnUserConnect event, mark OnSaveDatabase deprecated pending db redesign.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2113 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18 23:48:46 +00:00
rburchell
d20e4eb6ee
Seems Changes entry didn't get committed.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2112 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18 23:34:56 +00:00
rburchell
e11b5b5ace
Patch from DP, converting all match calls and removing old match method.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2111 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18 23:34:32 +00:00
rburchell
12cc633457
Add nickalias to build. Also stop sstrdup on args that seem to be NULL, it's getting ripped out anyway.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2109 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18 23:01:43 +00:00
rburchell
bcb857f118
Move EVENT_DB_SAVING to newevent.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2108 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18 23:00:41 +00:00
rburchell
187c45059a
Move assign and unassign to new events, allow for halting too should modules desire that.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2107 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18 22:59:16 +00:00
cyberbotx
3fe5aa037a
Fix numerous errors in Win32 building under Visual Studio due to the many changes to trunk. Trunk now builds under Windows like it should.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2106 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-17 02:02:20 +00:00
rburchell
7af9e42d21
Hook events correctly in constructor.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2105 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-17 00:31:42 +00:00
rburchell
abd083b1e3
Oops.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2104 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 23:49:38 +00:00
rburchell
d07de70fc3
Move EVENT_RELOAD to OnReload.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2103 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 23:48:03 +00:00
rburchell
c1c9e17d79
Move OnUserKicked to a module event.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2102 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 23:47:28 +00:00
rburchell
ce3a04f0a8
Modevents, ported from insp. Typesafe (unlike the current ones), no double hashing overhead (faster), no useless memory allocations (copies of the args)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2101 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 22:59:59 +00:00
rburchell
f756f2b394
Fix compile warning.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2100 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 22:59:36 +00:00
cyberbotx
7ea34be0b8
Fix output of reason in os_chankill when AddAkiller is used, spotted by DukePyrolator, thanks!
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2099 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 22:08:45 +00:00
cyberbotx
6bd851a4d0
Replaced time_t with long in the ValueItem class, this was preventing building under FreeBSD. Works under FreeBSD and Linux now.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2098 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 20:35:56 +00:00
rburchell
8d90a23689
bleep.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2097 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 19:11:42 +00:00
rburchell
ea45d96968
If you use finduser(), and then use the result, it helps if you actually finduser() to a pointer to save the result, doh. Thanks to DP!
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2096 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 18:58:44 +00:00
rburchell
771eb5cf1f
Fix wrong service listed in "to identify"
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2095 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 16:18:24 +00:00
rburchell
e1f80a1833
Prevent potential overflows of time values.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2094 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 15:08:42 +00:00
rburchell
0374d53d28
Add 'w' and 'y' support to dotime(), also prevent a possible overflow - thanks to DP.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2093 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 15:05:46 +00:00
rburchell
578755d627
Fix segfault on shutdown, thanks Ankit
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2092 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:57:19 +00:00
rburchell
89ab54f0d7
Another segfault found by DP :P
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2091 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:56:58 +00:00
rburchell
80de50711e
Make DumpCore actually do something again.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2090 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:41:33 +00:00
rburchell
43bad5d4ae
Default options::dumpcore to yes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2089 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:32:27 +00:00
rburchell
0d86da4f5d
Add Adam's pre-team contributions to Changes
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2088 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:24:54 +00:00
rburchell
caeebbfa6f
Add contributions by DP to Changes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2087 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:24:39 +00:00
rburchell
549e9446d8
Allow NS STATUS from unregistered users, thanks DP!
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2086 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:24:17 +00:00
rburchell
14c2617e41
Move botserv/administration "metacommand" to a priv. What was I smoking when I wrote this?
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2085 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:12:48 +00:00
rburchell
6112d479f9
Wild pointers do not a happy Anope make. Thanks DP :)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2084 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 12:12:26 +00:00
rburchell
04fe8e623c
Allow NS REGISTER to unregistered nicks, silly oversight. Thanks DP! :)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2083 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 11:54:03 +00:00
rburchell
c8422a6029
Fix call order, thanks to DP
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2082 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 11:33:39 +00:00
rburchell
010c774bc2
Revert "Patch from DukePyrolator to replace all calls to match_wild() and match_wild_nocase() to use Anope::Match() instead. Also changes line-endings on wildcard.cpp to Unix-style, as well as fixes a small compile warning in language.c."
...
This reverts commit fcab9857f55567f10eaecbd6b26ee96f0f549d65.
This isn't a simple sed operation, the order of arguments changed, so this would break everything using it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2081 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 09:17:24 +00:00
cyberbotx
22e8e87a00
Patch from DukePyrolator to replace all calls to match_wild() and match_wild_nocase() to use Anope::Match() instead. Also changes line-endings on wildcard.cpp to Unix-style, as well as fixes a small compile warning in language.c.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2080 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16 06:19:37 +00:00
cyberbotx
15a2e1d4e4
The language strings of HelpServ had escaped me! But I hunted them down and now they are no more.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2079 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 23:57:25 +00:00
cyberbotx
c5a376cbc8
Removed notice_user() and replaced all calls with Used::SendMessage.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2078 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 23:09:41 +00:00
rburchell
629422ed86
Remove nicktracking option, not used now.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2077 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 22:33:17 +00:00
rburchell
d1611b640b
Remove User::na, use User::nc everywhere. Will probably break everything, but opens the door to decoupling NC from NA, and means commands can now be run without bothering about changinc nick :)
...
More tweaking for na/nc usage.
It compiles, but it's still a work in progress.
Again, this compiles, but I *bet* there's no chance in hell it'll work. :)
Slightly better.
Set User::nc correctly.
Fix crash with unregistered nicks in core and ns_access.
Fix glist to work when you're not on that particular nick.
Fix ns_set to not crash and burn horribly.
Fix ns_set and ns_logout to not do bad things.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2076 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 22:29:18 +00:00
cyberbotx
0e5b71923b
Update TODO that HelpServ has been destroyed (although without the note of me getting +1000 points)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2075 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 17:58:37 +00:00
cyberbotx
ba47bf2f6f
HelpServ has been destroyed, +1000 points. Also fixed the argument order in the deprecated match_wild() function.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2074 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 17:47:52 +00:00
rburchell
330d9ee9e7
Add nickcore
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2073 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 17:40:56 +00:00
rburchell
d84701deec
Switch to using u->nc, courtesy of Rob, this means admin privs won't mysteriously vanish on changing nick.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2072 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:25:14 +00:00
rburchell
38711cded6
Merge master into svsopers.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2071 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:24:51 +00:00
rburchell
550e371f10
Set required command string for botserv modules.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2070 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:24:35 +00:00
rburchell
c8aae1c6ee
Implement opertype methods for priv/command access.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2069 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:24:12 +00:00
rburchell
92170818ff
Fix CFLAG_ALLOW_UNREGISTERED.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2068 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:23:57 +00:00
rburchell
0c985ee709
Check nick_identified() instead of u->na, as this may incorrectly treat people as identified.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2067 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:23:41 +00:00
rburchell
f74036dc58
Set CFLAG_ALLOW_UNREGISTERED on commands which should be usable for unidentified users.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2066 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:23:26 +00:00
rburchell
d121c4bd37
Add CFLAG_ALLOW_UNREGISTERED, commands without this flag will now not run for unregistered users.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2065 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:23:03 +00:00
rburchell
02452a0375
Split Command implementation from definition.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2064 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:22:40 +00:00
rburchell
8324379346
Can now correctly tie users to opertypes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2063 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:22:20 +00:00
rburchell
855847f428
Shuffle shit around.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2062 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:21:55 +00:00
rburchell
f07229a9ee
Blah, blah..
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2061 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:21:35 +00:00
rburchell
f92bf30f15
Fix compile error.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2060 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:21:06 +00:00
rburchell
b10305ef3b
Convert to use new, (drastically) faster matching algorithm, from InspIRCd. This adds Anope::Match(), and marks match_wild() and match_wild_nocase() deprecated.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2059 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:20:47 +00:00
rburchell
e1828057c3
Add include/svsoper.h, add skeleton methods/doc.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2058 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:20:23 +00:00
rburchell
bce21304f7
Add svsopers.cpp to build.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2057 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:19:57 +00:00
rburchell
2e75a5c4a4
Fix makefile, it's a cpp not a c.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2056 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 15:19:39 +00:00
robbeh
09dedba379
First stab at adding User::nc as requested!
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2055 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 14:54:56 +00:00
cyberbotx
602b468efd
Remove os_restart from the TODO, it was verified to work it just didn't like gdb.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2054 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 02:11:19 +00:00
cyberbotx
84d789c72b
Replaced notice_lang with notice_help in all OnHelp() functions in modules. Also fixed a few smaller issues regarding the help in the modules.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2053 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 01:59:21 +00:00
cyberbotx
6d835a6e49
Edit IRCDVar of inspircd12 so certain modules don't load on that IRCd, and small cosmetic fixes on a few other protocol modules.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2052 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 01:16:26 +00:00
cyberbotx
2c9f2eb991
Audited all src/modules/* and deleted bs_fantasy_unban (it was obsoleted).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2051 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15 01:00:20 +00:00
cyberbotx
0717d63c75
Audited all remaining os_* modules, excluding os_restart (it causes a SIGTRAP that needs to be narrowed down).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2050 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 23:54:34 +00:00
cyberbotx
bf020d8dfd
Removed references to RAW in config and lang files. Kirby from Dreamland ate them, he was hungry. Probably wasn't good for his appetite, though.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2049 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 23:04:19 +00:00
rburchell
77174a7b4d
protocol: split implementation from interface for cleaner code.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2048 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 22:41:40 +00:00
cyberbotx
214f6712fe
Removed os_raw, it was never supported by the Anope team, and now it no longer exists. It is no more. (It might've been eaten by a Grue, I think.)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2047 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 22:38:08 +00:00
pimpmylinux
71870e6667
applied patch from Adam to fix some potential screwups
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2046 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 16:12:35 +00:00
cyberbotx
0e991f0e72
Audited os_session with help from Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2045 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 03:45:26 +00:00
cyberbotx
99967932a4
Audited os_global and os_modinfo, thanks to Adam for spotting and fixing these.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2044 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 03:18:38 +00:00
cyberbotx
b167c89ca6
Audited os_akill, os_set, os_sgline, os_sqline, os_staff, and os_szline.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2043 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14 03:08:25 +00:00
cyberbotx
4b291b12f8
Fix error when install directory in instal.js contains spaces, spotted by Rexona.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2042 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 17:47:08 +00:00
rburchell
1344bc5728
Move 1.9.0 TODO to Changes, as it's, er, done.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2041 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 17:44:53 +00:00
rburchell
4587546330
Pass the right array to do_umode(), fixes mode tracking on Unreal. Thanks to DukePyrolator (yet again :P)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2040 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 17:25:11 +00:00
rburchell
4e5c094033
Fix bs_set help, thanks to DukePyrolator! :)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2039 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 17:12:17 +00:00
rburchell
7633d9e248
Fix segfault, noted by DukePyrolator. Thanks!
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2038 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 16:48:23 +00:00
rburchell
a7855fd0ba
Fix slist symbol mismatch.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2037 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 15:40:10 +00:00
rburchell
8d0aa3b589
Audit ns_*.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2036 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 15:39:55 +00:00
rburchell
e616889a78
Fix part one of #1010 , reported by DukePyrolator. (Language settings are not respected in message sending.) Thanks!
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2035 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 15:39:33 +00:00
rburchell
4310c712c3
Fix memo sending causing crashes due to unresolvable symbol at runtime, mark ms_* as audited.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2034 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 14:23:13 +00:00
sjaz
45b4074e0d
Two very small typo's in example.conf.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2033 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 06:27:11 +00:00
cyberbotx
2b0646a148
More fixes to bs_bot from Adam, plus an extra fix within DoAdd not covered in Adam's patch.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2032 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 04:07:07 +00:00
cyberbotx
b9a80f28f7
Audited os_modload, os_modunload, os_shutdown, os_stats, and os_svsnick.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2031 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 03:44:51 +00:00
cyberbotx
c78784ac28
Audited os_reload, os_umode, os_update, os_userlist, and ss_main.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2030 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13 03:18:44 +00:00
rburchell
61cf1f325f
insp12: don't try sstrdup() a NULL argument if sid is not set.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2029 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 22:34:34 +00:00
rburchell
b75fadf73d
Correctly lower TS (if the ircd provided it) on reciept of JOIN messages. This fixes dropped mode changes coming from services on TS6 (and TS6-alike) ircds for channels where TS is dropped elsewhere on the network.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2028 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 22:34:17 +00:00
rburchell
b0535c7760
inspircd11: Pass chants in JOIN message to not blow away timestamps.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2027 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 22:34:00 +00:00
rburchell
c9120ca031
hs_* audited.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2026 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 22:33:40 +00:00
rburchell
0e0ee67b81
enc_* don't require audit, as they do not implement commands.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2025 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 22:33:06 +00:00
cyberbotx
baaed4b764
Fix bs_bot to use the correct parameters, patch from Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2022 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 03:53:12 +00:00
rburchell
2e5b573192
Auditing of remaining cs_ modules.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2021 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 00:14:59 +00:00
rburchell
58b0279f7f
Audit cs_kick, cs_list, cs_logout, cs_modes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2020 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-12 00:00:50 +00:00
rburchell
a512f7cdd7
cs_help, cs_identify, cs_info, cs_invite audited.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2019 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 23:59:58 +00:00
rburchell
30b3d92d94
Audit cs_forbid, cs_getkey, cs_getpass.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2018 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 23:59:38 +00:00
rburchell
4836d9548d
Audit cs_ban, cs_clear, cs_drop.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2017 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 23:59:18 +00:00
rburchell
394d3b9325
Audit cs_access and cs_akick.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2016 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 23:58:57 +00:00
robbeh
9ed99ed5f4
I feel like a xanadu dev commiting only the TODO file!
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2015 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 20:44:49 +00:00
rburchell
cdec4027a8
Finish audit of BotServ commands.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2014 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 13:59:56 +00:00
rburchell
badcd21abb
Make max params work correctly, and fix bs_act to request params correctly. Audited as working ok.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2013 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 11:17:10 +00:00
rburchell
136ea16ed8
Fix naming discrepancy meaning some commands were not issuing syntax errors.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2012 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 10:46:14 +00:00
rburchell
3cc5bf39f5
Add full list of modules that require review as a result of command changes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2011 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 01:01:06 +00:00
rburchell
b0e41b4811
Fix *_help, so they work and, uh, don't crash.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2010 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:57:47 +00:00
rburchell
56633e894d
NS HELP requires 0 params minimum.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2009 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:42:05 +00:00
rburchell
0701b7df9f
Fix NS REGISTER not being registered as a command handler properly.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2008 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:39:46 +00:00
cyberbotx
94916b32cb
Fix example.conf to use os_news instead of os_logonnews, os_randomnews, and os_opernews.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2007 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:31:17 +00:00
rburchell
b0edff488a
Fix crash loading bs_set on 1.9.1.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2006 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:28:07 +00:00
rburchell
0a5ae7e6d8
Fix 1.9.0 -> 1.9.1 incompatibility on a patch.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2005 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:23:25 +00:00
rburchell
f4cdea8348
Revert oper protection patch from SciFi, it breaks things. This reverts commit fee057ae11daea45295744f0e9e13f1d0ce0f2b4.
...
Conflicts:
TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2004 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:20:17 +00:00
rburchell
429da2b886
Fix for bug #1004 , based from second half of patch from Adam.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2003 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:12:51 +00:00
rburchell
87ce2aa25d
Partial patch by Adam, commenting fix for #1006 for future reference.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2002 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:12:20 +00:00
cyberbotx
87c8744724
Fixed compile errors within src/modules/*.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2001 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:07:53 +00:00
cyberbotx
6f9f2617e7
Fixed compile error in ss_main.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2000 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 23:53:25 +00:00
cyberbotx
8c2430d02d
Fixed compiler error in os_userlist.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1999 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 23:51:37 +00:00
cyberbotx
e2f6064f10
Fixed compile errors in os_szline.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1998 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 23:49:24 +00:00
cyberbotx
87065c514a
Fixed compile errors in os_svsnick.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1997 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 23:39:48 +00:00
cyberbotx
0c17078092
Fixed compile errors in os_stats.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1996 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 23:37:31 +00:00
cyberbotx
f9e7760a23
Fixed compile errors in os_shutdown and os_sqline.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1995 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 23:27:00 +00:00
cyberbotx
53e79c2155
Fixed compile errors in os_sgline.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1994 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 23:17:46 +00:00
cyberbotx
fe78ca1399
Fix compile errors in os_set.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1993 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 22:56:06 +00:00
cyberbotx
e1bdc807a8
Fixed compile errors in os_session.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1992 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 22:46:49 +00:00
rburchell
88186bfd2c
Fix mistake noted by CyberBotX.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1991 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 21:48:47 +00:00
rburchell
2e08b60cf7
Fixes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1990 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 21:46:57 +00:00
rburchell
7d58ed17c7
Fix os_news and os_noop.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1989 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 21:37:52 +00:00
rburchell
79f09ed157
Various fixes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1988 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 21:16:20 +00:00
rburchell
b1ee732713
Few fixes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1987 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 21:16:00 +00:00
rburchell
ef9f97fa05
Help() -> OnHelp(), return true.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1986 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 21:15:39 +00:00
rburchell
7a4b0418bc
Fix ns_set.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1985 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 21:15:24 +00:00
robbeh
3d8245a5a6
fixed typo in ns_saset.c dealt with constness for change_core_display and added ASTYLE to contain astyle options
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1984 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 20:47:53 +00:00
rburchell
d01df85cd1
More fixes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1983 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 19:34:31 +00:00
rburchell
1ed7d17b5d
Various compile fixes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1982 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 19:34:03 +00:00
rburchell
b48c18b011
Fixes..
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1981 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 17:01:21 +00:00
cyberbotx
b496e60eb0
Fix compile errors in hs_* modules, as well as add some const-safeness to HostServ functions.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1980 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 16:56:24 +00:00
cyberbotx
2bf017a0e1
Fixed compile errors in cs_xop.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1979 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 16:38:28 +00:00
rburchell
5fa7167181
Fix a few (easy) compile errors.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1978 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 16:19:14 +00:00
rburchell
fe39b96db7
Fix modules to use the right type (CommandReturn, not CommandResult)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1977 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 16:17:16 +00:00
rburchell
e225e7e628
Change cs_set to use new commands API (ugh, this sucked.)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1976 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 16:07:26 +00:00
rburchell
b15c46d795
Move getstring() and getstring2() from macros to functions. This fixes a bunch of warnings, and means they are actually *readable*, as well as type-safe and const.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1975 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 13:54:09 +00:00
rburchell
e7a1572317
Clean up a few warnings.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1974 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 13:30:24 +00:00
rburchell
1fd0249076
NS_VERBOTEN -> NS_FORBIDDEN, CS_VERBOTEN -> CS_FORBIDDEN, etc.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1973 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 12:26:09 +00:00
cyberbotx
e7a6661baa
Do not pack the build directory into the tarballs from now on, also fix subtle error in install.js for Windows when the last characters of the script's path is a backslash.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1972 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 12:00:47 +00:00
rburchell
018f1a50b2
Bump version to 1.9.1-explodes-on-impact.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1971 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 10:07:17 +00:00
rburchell
4d89b91ed3
Change ns_set to use subcommand for help display.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1970 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 10:04:34 +00:00
robbeh
24dbf4e00c
Use a virtual destructor for Commands as it has virtual functions
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1969 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 09:17:34 +00:00
rburchell
28a0108e0b
Fix a few quick compile errors.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1968 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 09:07:32 +00:00
rburchell
87dc82f3e9
Convert cs_modes to new commands API.`
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1967 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 00:00:17 +00:00
cyberbotx
0a06ce6490
Changed cs_register to use new command API.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1966 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 23:19:09 +00:00
cyberbotx
d931ce8096
Changed cs_sendpass to use new command API.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1965 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 23:13:36 +00:00
cyberbotx
fc0deb2181
Changed cs_status to use new command API.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1964 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 23:01:59 +00:00
cyberbotx
de6a85bdf5
Changed cs_suspend to use new command API.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1963 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 22:53:42 +00:00
cyberbotx
0ab4571106
Changed cs_topic to use new command API.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1962 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 22:45:18 +00:00
cyberbotx
8c815bedeb
Changed cs_xop to use new command API.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1961 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 22:34:55 +00:00
robbeh
d684f3c556
Moved myChanHelp so it'll compile ;)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1960 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 22:17:43 +00:00
robbeh
3fe6a25236
Moved cs_list.c to use the new command API
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1959 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 22:09:22 +00:00
rburchell
8c5a7e7aea
Convert cs_logout to new commands API.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1958 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 22:04:14 +00:00
rburchell
e7228b6289
Remove gone do_backtrace() prototype and call from memory.c
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1957 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 21:35:04 +00:00
rburchell
72b86bcf72
Remove some references to the (removed) waiting variable.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1956 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 21:33:51 +00:00
rburchell
eec4e00b16
Fix typo.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1955 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 21:33:07 +00:00
cyberbotx
ff6477e6dd
Changed os_sgline to use new command API.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1954 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 21:06:36 +00:00
rburchell
d7d01bdc5c
Squashed commit: merge next (1.9.1) back to trunk.
...
SVN users, NOTE: THIS WILL NOT BUILD, NOR SHOULD YOU RUN IT YET.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1953 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 21:01:05 +00:00