ircbot 0.1.4 → 0.1.5
raw patch · 2 files changed
+7/−5 lines, 2 filesdep ~unixPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: unix
API changes (from Hackage documentation)
Files
- Network/IRC/Bot/PosixLogger.hs +5/−3
- ircbot.cabal +2/−2
Network/IRC/Bot/PosixLogger.hs view
@@ -6,9 +6,11 @@ import Data.Time.Format (formatTime) import Network.IRC (Command, Message(Message, msg_prefix, msg_command, msg_params), Prefix(NickName), UserName, encode, decode, joinChan, nick, user) import Network.IRC.Bot.Commands-import System.FilePath-import System.Locale-import System.Posix+import System.FilePath ((</>))+import System.Locale (defaultTimeLocale)+import System.Posix ( Fd, OpenMode(WriteOnly), OpenFileFlags(append), closeFd, defaultFileFlags+ , fdWrite, openFd+ ) -- TODO: This should be modified so that a formatting filter can be applied to the log messages -- TODO: should be updated so that log file name matches channel
ircbot.cabal view
@@ -1,5 +1,5 @@ Name: ircbot-Version: 0.1.4+Version: 0.1.5 Synopsis: A library for writing irc bots Homepage: http://patch-tag.com/r/stepcut/ircbot License: BSD3@@ -32,7 +32,7 @@ old-locale == 1.0.*, parsec == 3.1.*, time == 1.4.*,- unix == 2.5.*,+ unix >= 2.4 && < 2.6, random == 1.0.* -- Modules not exported by this package.