diff options
author | Julien Dessaux | 2011-08-08 13:03:31 +0200 |
---|---|---|
committer | Julien Dessaux | 2011-08-08 20:58:16 +0200 |
commit | 4f50db840967c2409c9bf96c2d6525f99e39cdca (patch) | |
tree | 9f6e1372204d1e9ee3af06bbbfc6fe80bb217866 /Hsbot/Plugin/Ping.hs | |
parent | Added access controls to hsbot. (diff) | |
download | hsbot-4f50db840967c2409c9bf96c2d6525f99e39cdca.tar.gz hsbot-4f50db840967c2409c9bf96c2d6525f99e39cdca.tar.bz2 hsbot-4f50db840967c2409c9bf96c2d6525f99e39cdca.zip |
Fixed bad comments and some cosmetics
Diffstat (limited to '')
-rw-r--r-- | Hsbot/Plugin/Ping.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Hsbot/Plugin/Ping.hs b/Hsbot/Plugin/Ping.hs index 6d28ef9..9105630 100644 --- a/Hsbot/Plugin/Ping.hs +++ b/Hsbot/Plugin/Ping.hs @@ -11,12 +11,13 @@ import Prelude hiding (catch) import Hsbot.Message import Hsbot.Types +-- | The ping plugin identity ping :: PluginId ping = PluginId { pluginName = "ping" , pluginEp = thePing } --- | The IrcPlugin monad main function +-- | An IRC plugin that answer PING requests thePing :: Plugin (Env IO) () thePing = forever $ readMsg >>= eval where |