diff --git a/Network/IRC/Bot/Part/Dice.hs b/Network/IRC/Bot/Part/Dice.hs
--- a/Network/IRC/Bot/Part/Dice.hs
+++ b/Network/IRC/Bot/Part/Dice.hs
@@ -17,7 +17,7 @@
     do try $ botPrefix >> string "dice"
        logM Debug "dicePart"
        target <- maybeZero =<< replyTo
-       (numDice, numSides, modifier) <- (do 
+       (numDice, numSides, modifier) <- (do
          skipMany1 space
          nd <- nat <|> return 1
          if nd > 100
diff --git a/ircbot.cabal b/ircbot.cabal
--- a/ircbot.cabal
+++ b/ircbot.cabal
@@ -1,5 +1,5 @@
 Name:                ircbot
-Version:             0.5.3
+Version:             0.5.4
 Synopsis:            A library for writing irc bots
 Homepage:            http://hub.darcs.net/stepcut/ircbot
 License:             BSD3
@@ -44,6 +44,6 @@
                   old-locale == 1.0.*,
                   parsec     == 3.1.*,
                   time       == 1.4.*,
-                  unix       >= 2.4 && < 2.7,
+                  unix       >= 2.4 && < 2.8,
                   random     == 1.0.*,
                   stm        >= 2.2 && < 2.5
