Commit Graph

1192 Commits

Author SHA1 Message Date
Vgr E. Barry
2b50c75b18 Fix harlot bite event 2017-09-04 15:31:54 -04:00
Vgr E. Barry
516d1d0c8c Update the chk_nightdone function and event 2017-09-04 13:56:33 -04:00
Vgr E. Barry
a5c3f0694c Update night_acted event 2017-09-04 10:46:15 -04:00
Vgr E. Barry
b73d4e79c1 Fix oversight 2017-09-02 10:03:24 -04:00
Vgr E. Barry
d89534f259 Update !myrole and its event 2017-09-01 10:10:26 -04:00
Vgr E. Barry
07f14689c3 Properly display player list to wolves 2017-08-30 14:41:25 -04:00
Vgr E. Barry
7d117fab6b Fix error in end-of-game deadchat 2017-08-30 13:52:20 -04:00
Em Barry
a9067bb8ca Change a bunch of things because we felt like it
* Convert the del_player event
* HAAAAAAAAAAAAAAANDS
* <insert snarky commit message here>
2017-08-30 10:09:31 -07:00
Vgr E. Barry
17688050d6 Add get_all_players function and use it wherever necessary 2017-08-30 12:38:09 -04:00
Vgr E. Barry
0f1d513daa Convert the transition_night_end event 2017-08-30 10:16:02 -04:00
Vgr E. Barry
2f0d4f8b1c Update the get_special event 2017-08-30 08:40:54 -04:00
Vgr E. Barry
e32e142742 Remove the cli parameter from night_acted 2017-08-29 20:00:33 -04:00
Vgr E. Barry
888787fa3b Remove cli from night_warn 2017-08-29 19:55:20 -04:00
Vgr E. Barry
95df73ac8d Remove cli from get_voters event 2017-08-29 19:49:56 -04:00
Vgr E. Barry
9fa67c559e Update stop_game to not take cli 2017-08-29 19:46:00 -04:00
Vgr E. Barry
2bf715637c Remove old users iteration and rename new one
Nothing used neither the old or new versions, but keeping the new one in anyway
2017-08-29 19:32:17 -04:00
Vgr E. Barry
371f8488df Add shortcut to context comparison 2017-08-29 19:31:26 -04:00
Vgr E. Barry
5fff9d2ce8 Update the begin_day event 2017-08-29 19:30:27 -04:00
skizzerz
b2589caccb Fix yet another bug with the hunter conversion 2017-08-29 17:36:21 -05:00
jacob1
9c0f96decc fix issue where night wouldn't end if wolves were diseased 2017-08-27 00:17:22 -04:00
skizzerz
d675f3183c Fix hunter prematurely ending night.
Idea: let's NOT mess with how the game logic is laid out unless you can
mathematically prove that your new cool shorthand way of doing things is
exactly equivalent to the old way.
2017-08-25 17:01:53 -05:00
Vgr E. Barry
1bb4ea1cd3 Fix !fsync 2017-08-24 09:07:32 -04:00
Vgr E. Barry
55c2f2ce25 Fix !revealroles 2017-08-23 23:40:04 -04:00
Vgr E. Barry
746eb4171b I'm good at this 2017-08-23 23:21:59 -04:00
skizzerz
0bfa262daf Flags/command permissions overhaul
- revealroles is now enabled by default in normal mode
- spectate has been changed to require +a instead of +A
- fdie has been changed to require +F instead of +D;
  unlike the other +D commands (restart, update), die requires
  server access to get back up and is more dangerous.
- remove 'send' alias for fsend
- fgame is now enabled by default in normal mode
  and has been changed to require +g instead of +d
- fnight has been changed to require +N instead of +d
- fday has been changed to require +N instead of +d
- fstart has been changed to require +S instead of +A
- fstop has been changed to require +S instead of +A
- fwait has been changed to require +w instead of +A
- all remaining commands which require +d (force/rforce/frole)
  remain disabled by default in normal mode
- eval and exec can no longer be enabled in normal mode;
  they function in debug mode only
2017-08-23 22:17:25 -05:00
Vgr E. Barry
370b2c6ed2 Some function and event updates 2017-08-23 22:06:43 -04:00
skizzerz
fa82be59f3 Fix MS chained deaths not chaining correctly 2017-08-23 21:01:16 -05:00
Vgr E. Barry
714f0e8593 Add new User-aware utility functions
Right now neither are used (get_participants does not have any event listeners anywhere), however in the future it will be easier to convert code that uses the old, nick-based functions.
2017-08-23 19:02:10 -04:00
Vgr E. Barry
401edb75cf Convert hunter to the new User API 2017-08-23 18:59:30 -04:00
skizzerz
ca628dfe2e Don't time out night if all wolves are silenced 2017-08-22 17:10:26 -05:00
Vgr E. Barry
5d14327380 make stuff prettier i guess 2017-08-21 14:16:04 -04:00
skizzerz
f766c76076 ... 2017-08-20 22:56:44 -05:00
jacob1
2cb25a3ad5 fix revealroles showing MS targets on every player 2017-08-20 22:33:15 -04:00
jacob1
fb889393d7 fix single digit fake nick joining in debug mode (only ranges worked) 2017-08-20 19:59:30 -04:00
jacob1
a0055453fe fix succubi winning when all players die ... even if there were no succubi 2017-08-20 18:53:23 -04:00
jacob1
4dc86adc75 add mad scientist targets to myrole and revealroles 2017-08-20 18:46:04 -04:00
skizzerz
4d9e509a58 Add drunk to guardian, bit too many vils in there 2017-08-19 23:35:47 -05:00
skizzerz
9d4a5172b4 Don't make CS lose if they die in vilgame 2017-08-19 23:07:56 -05:00
skizzerz
3ea7ba0d2c Add guardian to default rotation now that win conds are fixed 2017-08-19 22:38:29 -05:00
skizzerz
7568baced8 Fix users not being voiced in mael when joining midgame 2017-08-19 00:16:32 -05:00
skizzerz
c47373dd3d Fix villagergame delay not working 2017-08-18 19:48:11 -05:00
skizzerz
a3839b25d6 Fix midgame joining in mael
copy/deepcopy didn't know what to do with user objects due to custom
__new__. Since __new__ returns an existing user if possible anyway, just
have copy/deepcopy return the same user instance that is being copied.
2017-08-18 17:45:47 -05:00
skizzerz
9eaaa90c8e Split wolf cub, part 2
It turns out that actually staging the new file is helpful. Whodathunk?
2017-08-16 18:12:13 -05:00
skizzerz
63e8ad667b Split wolf cub
Was already mostly in wolf.py, but this takes it out and lays groundwork
for splitting out var.DISEASED_WOLVES and base events that the new
berserker wolf can use.
2017-08-16 18:08:05 -05:00
Ryan Schmidt
4bfa5f16f6 Split Mad Scientist (#295)
* Split Mad Scientist

Related changes:
- MS now honors all protections instead of only caring about blessed
  villagers
- Allow FA to bypass protection even if FA is applied as a template
- Make bodyguard swap themselves in as the assassination target rather
  than blocking the attempt outright and suiciding. This means that
  active protections on the bodyguard have a chance to save them as well.
- Redo some messages to make the above sound nice in the bot.
- Add some additional params to the assassinate event to see WHY the
  assassination is happening (source) and WHO is doing the assassination
  (killer; currently a nick but should be a user sometime in the future).
- Add a target data item to teh assassinate event so that listeners can
  change who is being assassinated. Protection boilerplate has been
  adjusted to account for this.
- Add helper function to get the targets, avoiding code duplication
2017-08-16 14:53:21 -04:00
skizzerz
ef3c670a0d Make sleepy 10+
8-9p has only one safe, 2 wolves, and a dullahan. Usually this means
dulla controls the game and the winner is entirely determined by whether
or not both wolves are on the kill list. Aka it sucks.
2017-08-09 17:18:59 -05:00
skizzerz
a9915e09fe Kill non-f aliases for fsay/fact
Many of these aliases are words that begin sentences. Saying them in
wolfchat/deadchat then makes the bot pm random people with stuff. Let's
NOT do that, kthx. fact is also a word, so replacing that with fdo.
2017-08-09 12:09:58 -05:00
skizzerz
ad5ab73e00 Forgot to update gamemodes del_player events to use new var names 2017-07-20 19:07:00 -05:00
skizzerz
c4282bd237 Fix wolf cub not working
The dead player is already removed from var.ROLES by the time the event
fires. Also, tweak del_player event to make it much easier to support
arbitrary roles as not being the player's main role by changing nicktpls
to allroles (which is a set that includes mainrole). The assassinate
event is similarly tweaked.
2017-07-20 14:19:04 -05:00
skizzerz
c0aa797342 Don't shoot werekittens at night
They can't be shot during day, so they can't be shot at night either.
Add an event so that it can be easily handled once split (using the new
API, Vgr would be so proud of me).
2017-06-20 23:08:49 -05:00
skizzerz
24f82d3cd5 Fix BotUser.lower 2017-05-16 11:05:37 -05:00
skizzerz
c9faa8bb7a Fix BotUser.with_host breaking things when called during registration
If with_host() is called before we fully know our ident and host, we'll
set the host but keep ident as None, which breaks everything down the
line. I could've fixed this in general in users._add, but that would
require more extensive changes than this patch (aka may break other
things).
2017-05-15 20:35:47 -05:00
skizzerz
68109a12ae Fix RPL_ISUPPORT parsing
Instead of trying to guess what format a token is based on its content,
hardcode a list of known tokens and what formats their parameters take.
Any unknown token will therefore be kept as a string, instead of
potentially blowing up parsing due to unexpected values (such as
multiple colons).

Also fix parsing for colon-separated lists. MAXLIST=beI:100 is *VERY*
different from MAXLIST=b:100,e:100,I:100 but our previous processing
made the two identical in terms of what the structure looked like.
2017-05-15 16:24:20 -05:00
nyuszika7h
a8198327d0 Fix missing space before death messages in join phase 2017-05-15 21:42:22 +02:00
Vgr E. Barry
3f9f06613a Fix pingif preferences not being properly saved 2017-04-22 07:46:09 -04:00
jacob1
16d541b1f1 fix missing space in quit message 2017-04-19 21:49:57 -04:00
Vgr E. Barry
08eaa34130 Update !fleave 2017-04-16 23:47:28 -04:00
skizzerz
4ce8888274 add users import to wildchild 2017-04-13 16:04:25 -05:00
Vgr E. Barry
64eb34a61a Properly handle the bot's host change 2017-04-07 16:52:35 -04:00
skizzerz
e0ea1f00e4 derp^2 2017-04-01 14:53:17 -05:00
skizzerz
9076872726 Fix dulla 2017-04-01 14:06:08 -05:00
skizzerz
ffb23f587d derp 2017-04-01 13:39:16 -05:00
skizzerz
8a8a79627f Overhaul how templates work
Templates are still applied on game start according to
var.TEMPLATE_RESTRICTIONS, but now any arbitrary role can be applied as
a template during gameplay without breaking things horribly.

Speaking of breaking things horribly, things are probably broken
horribly due to this. It was lightly tested, but there's a lot of
fundamental stuff that changed.
2017-03-31 12:45:53 -05:00
skizzerz
f096814fec Add additional aliases
mm = matchmaker, ms = mad scientist, vg = vengeful ghost

Additionally, allow all special keys to be queried via pstats in an
extensible manner (used for vg activated and vg driven off)
2017-03-28 12:13:59 -05:00
skizzerz
d029302ead Reduce delay range for villagergame
Now has a standard deviation of 1.5 seconds rather than 3 seconds, which
makes it a lot easier (hopefully) to identify when lykos is wolf.
2017-03-28 11:49:18 -05:00
Emanuel Barry
5d03ed414b Convert dullahan to use the new API (#292)
* Convert dullahan to use the new API

* Address small nitpicks about dullahan

* Totally unimportant commit, please do not pay attention at all
2017-03-28 09:39:51 -07:00
Vgr E. Barry
faa3925e7d De-uglify message 2017-03-25 01:14:31 -04:00
Vgr E. Barry
b08d802df7 Add a new swap_player event 2017-03-24 17:05:37 -04:00
Ryan Schmidt
1cc38e54b2 Make potato an alias for villager (#290)
Also allow prefixing commands by their role name to remove ambiguity
should a person be multiple roles. For example, "seer see foo" and
"augur see foo" will now work if a person is both seer and augur
(whereas normal see foo would be ambiguous). A player will be directed
to use the unambiguous prefixed version if we detect that a role command
will fire multiple times for them (note: coming soon).

For sanity reasons, these role prefixes are implemented as exclusive
commands, meaning no other commands or command aliases may use the same
name. Clone needs to be special-cased in this regard, as clone is both a
role name and a command name.
2017-03-24 16:31:08 -04:00
Vgr E. Barry
0df627fcca Properly fix automatic toggling of modes 2017-03-23 11:56:52 -04:00
jacob1
0aea09f066 fix italics being interpreted as newlines when sending messages (deadchat fix) 2017-03-11 21:36:12 -05:00
skizzerz
63efb85bbb Split harlot 2017-03-08 20:13:45 -06:00
Vgr E. Barry
e74079dae1 Fix goat and fgoat to use proper case
It would be nice to have a users.complete_one_match function (do we even need the current API?)
2017-03-06 16:22:54 -05:00
skizzerz
54de373242 Fix !lastgame
It simply didn't work before now for a while (as in, you could still
join/start). Also make it function during join phase, because having
weird restrictions on which it does/doesn't disable the commands is
weird. The admin can still !fjoin/!fstart as needed if they do want to
run one more game after executing this command during join phase.
2017-03-02 14:18:14 -06:00
Andrew "FastLizard4" Adams
e2db3b28a9 In team reveal, be more clear about team names
When a game is being played with team reveal instead of role reveal, use
explicit team names instead of just "wolf" or "villager" to make it clear that
we're referencing teams, not the similarly-named roles.
2017-03-01 14:08:03 -08:00
skizzerz
8c8823ebfe Don't remove users if they're playing
Instead mark them as a ghost, and remove them at end of game should they
still be gone.
2017-02-28 21:17:51 -06:00
skizzerz
750aa757e3 Move more cub stuff out of wolfgame.py 2017-02-28 09:32:31 -06:00
jacob1
c581801077 fix error when bodyguard saves assassin target 2017-02-25 00:27:14 -05:00
jacob1
bb8ae99310 fix pingif for hosts when DISABLE_ACCOUNTS is true on networks that support accounts 2017-02-24 23:52:35 -05:00
jacob1
6f5f09b76e don't check account in can_run_restricted_cmd when DISABLE_ACCOUNTS is True 2017-02-24 23:50:51 -05:00
jacob1
bc6375cf24 fix users.match_hostmask only working on full hostmasks
fixes admins list in botconfig.py when DISABLE_ACCOUNTS is true
2017-02-24 23:49:56 -05:00
jacob1
c615a62f9d don't attempt to set modes when fake users join in debug mode 2017-02-23 23:51:16 -05:00
jacob1
268129bd9d fix potential recursion error during maelstrom
when calling chk_win_conditions, maelstrom uses a rolemap where all players are usually '0', this is casted to a set which makes it think there is only one player
2017-02-23 23:43:32 -05:00
Fudster
c64526b248 Fix message about invalid game mode when joining (#288)
Using `!join` followed by something should not result in an error message. If a gamemode can be voted for, do it, otherwise silently do nothing.
2017-02-22 12:34:46 -05:00
Vgr E. Barry
05b900ef57 Don't allow messages from users we don't know 2017-02-15 11:07:15 -05:00
skizzerz
535d588c7b Succubus fixes
If in team reveal and succubus visits victim, show her as a neutral
player.

Don't try to double-kill people if all succubi die. While double tap is
a proven technique against zombies, it apparently breaks werewolf bots.
2017-02-14 21:35:02 -06:00
jacob1
0361c62406 ensure retribution_kill event for VG fires after "@wolves" is replaced with a nick 2017-02-13 20:44:03 -05:00
skizzerz
29d8423b25 Fire part/quit event before removing user from channels
Before, strong refs ensured that the user stayed "alive" but now we
remove user instances when they leave the last channel. As such, fire
the event before removing them from channels so the user instance is
still in our overall user set.
2017-02-09 14:22:48 -06:00
Fudster
b631f75499 Goat revamp (#286) 2017-02-08 16:16:58 -07:00
skizzerz
47705fbb2c ACME® Commit Message Kit
Thank you for purchasing the ACME® Commit Message Kit! We specialize in
providing the finest commit message kits. Should you find your kit not
up to your satisfaction, contact your Customer Support Representative
for a full refund.

To use this kit, please assemble the following components into your
desired commit message. Using ACME® BottomlessBits® technology, you can
use each component in the kit as many times as you'd like!

Components:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;'"/
2017-02-08 14:43:52 -05:00
Vgr E. Barry
37e2d404d3 Add setting to customize traceback frame locals reporting 2017-02-08 13:57:26 -05:00
skizzerz
dd76f79603 Backend QoL adjustments for cub
Eliminate stupid get_final_role event and instead simply don't add cubs
to var.FINAL_ROLES when they grow up into wolf. That var is only ever
used for end-game stats readouts, so there is no mechanical impact in
omitting adding something there.

Add new event to experimental stats to allow roles like cub and clone to
reflect role swaps when players die. Cubs growing up now shows up in
experimental stats.
2017-02-08 10:40:18 -06:00
Vgr E. Barry
0a18f8e70e Disallow apples to be in the same bag as oranges
Pears are fine, though
2017-02-07 20:12:16 -05:00
Vgr E. Barry
70b42dceb6 Fix not being able to join fake nicks
Also fix unrelated issue with fake users
2017-02-07 19:45:21 -05:00
Fudster
8a9d4412d3 Tweak fjoin (#285)
Change the behaviour of fjoin in both normal and debug modes:

- Only joins fake nicks in debug mode;
- Only joins one person in normal mode, multiple in debug mode;
- Autocomplete nicks in both normal and debug modes.
2017-02-06 22:36:33 -05:00
Vgr E. Barry
32409b8f76 Update fjoin to use the new API everywhere 2017-02-06 13:15:49 -05:00
jacob1
749310e564 fix some !roles messages 2017-02-05 12:48:18 -05:00
jacob1
0ec0c5d73d fix a few errors and broken messages, random cleanup 2017-02-05 12:39:52 -05:00
Fudster
0a6c6200ab Fix for #176 improve invalid role errors 2017-02-05 12:39:52 -05:00
jacob1
4c67a5b438 fix user references staying around due to !pingif pinger
also remove ugly hack since we don't need it anymore
2017-02-02 22:08:04 -05:00
Vgr E. Barry
e1e3b8d177 Ignore locals from hook.caller 2017-02-02 21:00:47 -05:00
Vgr E. Barry
48e1f06b33 Be more aggressive when trying to figure out why there are duplicates 2017-02-02 20:59:37 -05:00
Vgr E. Barry
0ef70245ff Don't show locals of proxy stubs 2017-01-28 00:40:28 -05:00
Vgr E. Barry
5842b41097 Add some hacky debugging aid for when a User lingers around 2017-01-28 00:40:12 -05:00
jacob1
8f38900a44 fix chk_win events in gamemodes.py 2017-01-27 21:42:52 -05:00
Ryan Schmidt
69fa7d377f Split succubus (#284)
* Split + buff succubus

When all succubi die, all entranced people now die along with them. This
should prevent an entranced person from ratting out the succubus early
on so that they go back to their team, as they lose now even if succubus
dies. One exception is if EVERY succubus idles out, then everyone that
is entranced is freed of entrancement, as it isn't their fault that they
didn't protect their friends in that case.

Dullahans now have succubi entirely removed from their list as the
likelihood they get unentranced is low, and it's easier to implement
this way.

Ensure that entranced people can vote along with ANY succubus, even if
that vote isn't the one that succeeded. Before there were cases where
they could vote along with succubus but still end up dying (particularly
in respect to a vote passing when a succubus abstained).

Clear up some message wording with regards to succubi.

Cleaned up chk_win_conditions and eliminated chk_traitor, so they make
much more sense now.

Also fixed minor issues, such as end-game saying "same number" of wolves
even if there are more wolves than villagers, hunter/vigilante dying
during night sometimes not clearing variables correctly (thus causing
premature night end) and some various stupidity going on with some old
code I wrote that doesn't have any visible effects.

* Combine all players into the same succubus death message

* Fix stylistic issues and succubus idling not working
2017-01-27 14:08:41 -05:00
Vgr E. Barry
54ab59a36f Add some more hacky support for IRCds that are broken beyond hope 2017-01-25 21:47:13 -05:00
Vgr E. Barry
7bc13937e4 Don't say that someone has already joined if they're not logged in 2017-01-25 21:27:24 -05:00
Vgr E. Barry
e227e0e958 Make sure that users.equals returns False if at least one argument is None 2017-01-25 21:26:59 -05:00
Vgr E. Barry
b68cba12d6 Show local variables from all possibly relevant frames
This doesn't show the variables for a few specific functions, specifically those which have a '_ignore_locals_' local variable set to a truthy value. For now, those functions are handle_error.__call__ (which is present in every traceback ever, due to its nature), cmd.caller and command.caller (one or the other is present in a large number of tracebacks, again due to their nature).

This makes debugging easier when the error is not in the innermost frame, but rather in one or two frames before, and the locals are lost.
2017-01-25 14:05:51 -05:00
jacob1
a928d729a6 fix incoming deadchat messages using your nick instead of the person who sent it 2017-01-21 20:16:36 -05:00
jacob1
c67551bd46 fix error when dead player changes nick (from last commit) 2017-01-21 20:10:37 -05:00
jacob1
62f716093a fix !swap and nick changing errors
var.ALL_PLAYERS update (for !swap) needs to happen before checking if the new user is in var.ALL_PLAYERS
pl is inaccurate during nick changes because the user's nick in var.ALL_PLAYERS is updated automatically but in var.ROLES isn't, therefore a user that changes nicks would never be returned in list_players()
one instance of prefix incorrectly changed to user.nick
2017-01-21 18:29:11 -05:00
Vgr E. Barry
058acd40d7 Fix wolfchat relaying and player renaming 2017-01-21 14:26:21 -05:00
nyuszika7h
1c5761ce26 Make the ping thread daemonized to allow the bot to quit 2017-01-19 21:22:59 +01:00
Vgr E. Barry
2354269ed2 Revert unintentional change to dullahan 2017-01-17 14:46:50 -05:00
Vgr E. Barry
bc63f2be4f Mad scientist fixes
Also stats fix
2017-01-17 14:43:28 -05:00
Vgr E. Barry
8c2124fb6a Add the new functions submodule, superseding utilities.py
All of the new functions handle and return User instances. Not used yet, but will be needed when converting roles.
2017-01-17 13:46:40 -05:00
Vgr E. Barry
accba42ea2 Change var.ALL_PLAYERS to hold User instances
Also some unrelated things
2017-01-17 13:45:38 -05:00
Vgr E. Barry
26fec0f5a0 Make sure fake users always get "sent" the simple messages 2017-01-17 13:44:52 -05:00
Vgr E. Barry
ad7e0f11ac Ignore messages received before the bot is fully set up 2017-01-17 12:52:27 -05:00
skizzerz
740d14ef72 Experimental stats: intelligently determine if traitor could have died
If it is impossible for other (non-wolf) roles to have killed at night,
we do not deduct from the traitor count. This logic isn't perfect yet,
but should cover the majority of cases.
2017-01-16 16:38:51 -06:00
nyuszika7h
bde640c9ae Don't attempt to identify with no password set
Some servers disconnect the client if PASS fails, so the bot will fail
to connect unless SERVER_PASS is also explicitly set to None.
2017-01-16 12:40:14 +01:00
Vgr E. Barry
cef59bce73 Fix small variable error 2017-01-15 10:03:11 -05:00
Vgr E. Barry
693ebf3546 Fix some oversights 2017-01-13 16:28:09 -05:00
Vgr E. Barry
d2211de510 Update deadchat handling 2017-01-13 16:17:40 -05:00
Vgr E. Barry
fea04471ca Properly lowercase host everywhere 2017-01-13 16:17:03 -05:00
Vgr E. Barry
a0550f922b Allow passing a list or tuple to IRCContext.queue_message 2017-01-13 16:15:20 -05:00
Vgr E. Barry
fb7bf56579 Fix proper lowercasing, take 2 2017-01-13 12:13:32 -05:00
Vgr E. Barry
2cd410ace8 Fix lowercasing a hostname to not use IRC lowercasing 2017-01-13 12:05:16 -05:00
Vgr E. Barry
4f36b189ff Update pingif timer handler 2017-01-13 12:00:09 -05:00
Vgr E. Barry
96c36a13b6 Fix lowercasing a BotUser instance 2017-01-13 11:59:47 -05:00
Vgr E. Barry
52f6b9238a Fix fspectate 2017-01-13 11:59:24 -05:00
Vgr E. Barry
a620860cc5 Update who_end event parameter 2017-01-13 11:57:16 -05:00
Vgr E. Barry
0ca9e8cbdb Update the pingif command 2017-01-12 15:29:55 -05:00
Vgr E. Barry
582523bda5 Update refreshdb and ping commands 2017-01-12 15:29:34 -05:00
Vgr E. Barry
abf663706d Update fsync and related functions 2017-01-12 15:28:58 -05:00
Vgr E. Barry
889408a7bb Remove redundant lines 2017-01-12 14:13:05 -05:00
Vgr E. Barry
b3552574d5 Update database on simple and notice toggle 2017-01-12 14:02:17 -05:00
Vgr E. Barry
ce8babec56 Update the notice toggle command 2017-01-12 13:57:24 -05:00
Vgr E. Barry
eb5a54474e Update the simple toggle command 2017-01-12 13:57:14 -05:00
Vgr E. Barry
f941f23e91 Update some docstrings in users.py 2017-01-12 13:55:07 -05:00
Vgr E. Barry
fe692dd74e Update fdie and frestart to use the new command API 2017-01-12 12:46:05 -05:00
Vgr E. Barry
1b695b4849 Use the new IRCContext.send API instead of break_long_message 2017-01-12 12:45:16 -05:00
Vgr E. Barry
4a02943a6e Use context directly for mode change 2017-01-12 12:44:34 -05:00
Vgr E. Barry
81c96f4a56 Tweak hooks.quit 2017-01-12 12:43:41 -05:00
Vgr E. Barry
87df9e1440 Add a client attribute to MessageDispatcher 2017-01-12 12:43:18 -05:00
Vgr E. Barry
16022599e5 Use __class__ cell for channel comparisons 2017-01-12 12:42:46 -05:00
Vgr E. Barry
420d67250f Fix setting channel mode to None 2017-01-11 23:08:45 -05:00
Vgr E. Barry
fb6aa40170 Please stand away from water sources when short-circuiting 2017-01-11 22:54:19 -05:00