summaryrefslogtreecommitdiffstats
path: root/src/Reaktor/Plugins
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-01-21 19:44:39 +0100
committertv <tv@krebsco.de>2019-01-21 19:44:39 +0100
commita00da57346c195b1b15d1c6aca2891483901aae6 (patch)
treefab49308ba6a4a96a0eb01fa7eb8f727d9c95f07 /src/Reaktor/Plugins
parent2842e05c232505c670daee0fffb9a34d5c866217 (diff)
src: Types -> Internal
Diffstat (limited to 'src/Reaktor/Plugins')
-rw-r--r--src/Reaktor/Plugins/Mention.hs2
-rw-r--r--src/Reaktor/Plugins/NickServ.hs2
-rw-r--r--src/Reaktor/Plugins/Ping.hs2
-rw-r--r--src/Reaktor/Plugins/Register.hs2
-rw-r--r--src/Reaktor/Plugins/System.hs4
-rw-r--r--src/Reaktor/Plugins/System/Internal.hs (renamed from src/Reaktor/Plugins/System/Types.hs)4
6 files changed, 8 insertions, 8 deletions
diff --git a/src/Reaktor/Plugins/Mention.hs b/src/Reaktor/Plugins/Mention.hs
index a08604c..75de87c 100644
--- a/src/Reaktor/Plugins/Mention.hs
+++ b/src/Reaktor/Plugins/Mention.hs
@@ -6,8 +6,8 @@ import Control.Monad (when)
import Data.Aeson
import qualified Data.ByteString.Char8.Extended as BS
import qualified Data.Char
+import Reaktor.Internal
import Reaktor.Message
-import Reaktor.Types
plugin :: Value -> IO Plugin
diff --git a/src/Reaktor/Plugins/NickServ.hs b/src/Reaktor/Plugins/NickServ.hs
index caa2301..36b8917 100644
--- a/src/Reaktor/Plugins/NickServ.hs
+++ b/src/Reaktor/Plugins/NickServ.hs
@@ -9,8 +9,8 @@ import Data.Aeson
import Data.Aeson.Types (parseEither)
import qualified Data.ByteString.Char8.Extended as BS
import GHC.Generics
+import Reaktor.Internal
import Reaktor.Message
-import Reaktor.Types
import Reaktor.Utils (randomNick)
diff --git a/src/Reaktor/Plugins/Ping.hs b/src/Reaktor/Plugins/Ping.hs
index 83b3ac4..de3fe53 100644
--- a/src/Reaktor/Plugins/Ping.hs
+++ b/src/Reaktor/Plugins/Ping.hs
@@ -3,7 +3,7 @@ module Reaktor.Plugins.Ping (plugin) where
import Control.Monad (when)
import Data.Aeson (Value(Null))
-import Reaktor.Types
+import Reaktor.Internal
plugin :: Value -> IO Plugin
diff --git a/src/Reaktor/Plugins/Register.hs b/src/Reaktor/Plugins/Register.hs
index 48c3ff2..5e987a7 100644
--- a/src/Reaktor/Plugins/Register.hs
+++ b/src/Reaktor/Plugins/Register.hs
@@ -8,7 +8,7 @@ import Control.Monad (when)
import Data.Aeson
import qualified Data.ByteString.Char8.Extended as BS
import GHC.Generics
-import Reaktor.Types
+import Reaktor.Internal
import Reaktor.Utils (nextNick,randomNick)
diff --git a/src/Reaktor/Plugins/System.hs b/src/Reaktor/Plugins/System.hs
index 4e659d1..781409b 100644
--- a/src/Reaktor/Plugins/System.hs
+++ b/src/Reaktor/Plugins/System.hs
@@ -12,8 +12,8 @@ import Data.Aeson
import qualified Data.ByteString.Char8.Extended as BS
import qualified Data.Map as M
import Reaktor.Message
-import Reaktor.Plugins.System.Types
-import Reaktor.Types
+import Reaktor.Internal
+import Reaktor.Plugins.System.Internal
import System.Environment (getEnvironment)
import System.FilePath.Posix (takeBaseName)
import System.IO (Handle,hClose,hPutStr,hIsEOF)
diff --git a/src/Reaktor/Plugins/System/Types.hs b/src/Reaktor/Plugins/System/Internal.hs
index 39d2f75..4a64e0b 100644
--- a/src/Reaktor/Plugins/System/Types.hs
+++ b/src/Reaktor/Plugins/System/Internal.hs
@@ -1,10 +1,10 @@
{-# LANGUAGE OverloadedStrings #-}
-module Reaktor.Plugins.System.Types where
+module Reaktor.Plugins.System.Internal where
import Data.Aeson
import qualified Data.ByteString.Char8.Extended as BS
import qualified Data.Map as M
-import Reaktor.Types ()
+import Reaktor.Internal ()
-- TODO this needs better names :)