summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThéophile Choutri <theophile@choutri.eu>2018-01-19 15:13:48 +0100
committerThéophile Choutri <theophile@choutri.eu>2018-01-19 15:13:48 +0100
commita9258d1058815fa0d8c3201a4caf651754621f8e (patch)
treea77836ef754be914aee4b32e357ffb6a2fd378b2 /lib
parentAdd WHO query (#78) (diff)
Fix a parens warning and indentationmaster
Diffstat (limited to 'lib')
-rw-r--r--lib/exirc/client.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exirc/client.ex b/lib/exirc/client.ex
index f84a1d2..7588f81 100644
--- a/lib/exirc/client.ex
+++ b/lib/exirc/client.ex
@@ -681,7 +681,7 @@ defmodule ExIRC.Client do
## WHO
- def handle_data(%ExIRC.Message{:cmd => "352", :args => [_, channel, user, host, server, nick, mode, hop_and_realn]}, state) do
+ def handle_data(%ExIRC.Message{:cmd => "352", :args => [_, channel, user, host, server, nick, mode, hop_and_realn]}, state) do
[hop, name] = String.split(hop_and_realn, " ", parts: 2)
:binary.compile_pattern(["@", "&", "+"])