Archived
1
0
Fork 0

Continue rewriting, found a problem in the way I kill plugins.

This commit is contained in:
Julien Dessaux 2010-02-04 23:34:15 +01:00
parent fd8d5faf5f
commit 416460886d
9 changed files with 48 additions and 25 deletions

View file

@ -34,9 +34,9 @@ traceM :: String -> IrcBot ()
traceM msg = liftIO $ trace msg
-- | Logs an error message
error :: String -> IO ()
error msg = trace $ inColor msg [31]
traceRed :: String -> IO ()
traceRed msg = trace $ inColor msg [31]
errorM :: String -> a ()
error msg = liftIO $ error msg
errorM :: String -> IrcBot ()
errorM msg = liftIO $ traceRed msg