diff options
Diffstat (limited to 'src/dalstorage.h')
-rw-r--r-- | src/dalstorage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dalstorage.h b/src/dalstorage.h index 0867ef4c..f633527d 100644 --- a/src/dalstorage.h +++ b/src/dalstorage.h @@ -123,7 +123,7 @@ class DALStorage: public Storage * Gives the list of opened public channels registered in database * @return a map of the public channels */ - const std::map<short, std::string> + std::map<short, ChatChannel> getChannelList(); /** @@ -131,7 +131,7 @@ class DALStorage: public Storage * to the one in db. */ void - updateChannels(std::map<short, std::string> channelList); + updateChannels(std::map<short, ChatChannel>& channelList); /** * Save changes to the database permanently. |