Add config dir to default load path
[clinton/bobotpp.git] / source / User.H
index 9839cf0..9eef8d8 100644 (file)
@@ -67,6 +67,10 @@ public:
   int getProt() const;
   bool getAop() const;
 
+  std::string get_nick () const { return nick; }
+  std::string get_userhost () const { return userhost; }
+  int get_mode () const { return mode; }
+
   bool operator< (const User &) const;
   bool operator== (const User &) const;
 
@@ -74,6 +78,7 @@ public:
   friend class Parser;
   friend class ChannelUserList;
   friend class Commands;
+  friend class ScriptCommands;
   friend class UserCommands;
 };