Skip to content

Commit

Permalink
Configuration: Fix renamind bugs
Browse files Browse the repository at this point in the history
task: #9
  • Loading branch information
joshoxe committed May 23, 2021
1 parent e6b953e commit 318208d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmpctircd/Channel/Channel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public Channel(ChannelManager manager, IRCd ircd) {
.SelectMany(t => t.GetTypes())
.Where(
t => t.IsClass &&
t.Namespace == "cmpctircd.UModes" &&
t.Namespace == "cmpctircd.Modes" &&
t.BaseType.Equals(typeof(ChannelMode)) &&
!badClasses.Contains(t.Name)
);
Expand Down
2 changes: 1 addition & 1 deletion cmpctircd/Client/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public Client(IRCd ircd, TcpClient tc, SocketListener sl, Stream stream, string
.SelectMany(t => t.GetTypes())
.Where(
t => t.IsClass &&
t.Namespace == "cmpctircd.UModes" &&
t.Namespace == "cmpctircd.Modes" &&
t.BaseType.Equals(typeof(UserMode)) &&
!except.Contains(t)
);
Expand Down
4 changes: 2 additions & 2 deletions cmpctircd/IRCd.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public IList<string> GetSupportedUModes(Client client)
.SelectMany(t => t.GetTypes())
.Where(
t => t.IsClass &&
t.Namespace == "cmpctircd.UModes" &&
t.Namespace == "cmpctircd.Modes" &&
t.BaseType.Equals(typeof(UserMode)) &&
!badClasses.Contains(t.Name)
);
Expand Down Expand Up @@ -321,7 +321,7 @@ public IDictionary<string, IList<string>> GetSupportedModesByType()
.SelectMany(t => t.GetTypes())
.Where(
t => t.IsClass &&
t.Namespace == "cmpctircd.UModes" &&
t.Namespace == "cmpctircd.Modes" &&
t.BaseType.Equals(typeof(ChannelMode)) &&
!badClasses.Contains(t.Name)
);
Expand Down

0 comments on commit 318208d

Please sign in to comment.