Skip to content

Commit

Permalink
fix misc typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mk6i committed Apr 15, 2024
1 parent e3aa022 commit 93b2b81
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config/settings.env
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export FAIL_FAST=false

# Set logging granularity. Possible values: 'trace', 'debug', 'info', 'warn',
# 'error'.
export LOG_LEVEL=debug
export LOG_LEVEL=info

# The hostname that AIM clients connect to in order to reach OSCAR services
# (BOS, BUCP, chat, etc). Make sure the hostname is reachable by all clients.
Expand Down
5 changes: 2 additions & 3 deletions foodgroup/oservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,6 @@ func (s OServiceServiceForBOS) HostOnline() wire.SNACMessage {

// ClientOnline runs when the current user is ready to join.
// It performs the following sequence of actions:
// - Pulls the buddy icon from the feedbag and set it on the session.
// - Announce current user's arrival to users who have the current user on
// their buddy list.
// - Send current user its buddy list.
Expand Down Expand Up @@ -543,9 +542,9 @@ type OServiceServiceForChatNav struct {
chatRegistry *state.ChatRegistry
}

// HostOnline initiates the Chat protocol sequence.
// HostOnline initiates the ChatNav protocol sequence.
// It returns SNAC wire.OServiceHostOnline containing the list of food groups
// supported by the Chat service.
// supported by the ChatNav service.
// ChatNav is provided by BOS in addition to the standalone ChatNav service.
// AIM 4.x always creates a secondary TCP connection for ChatNav, whereas 5.x
// can use the existing BOS connection for ChatNav services.
Expand Down
4 changes: 1 addition & 3 deletions server/oscar/handler/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ func NewChatRouter(h Handlers) oscar.Router {
}

// NewChatNavRouter initializes and configures a new Router instance for
// handling OSCAR protocol requests in the context of a Basic Oscar Service
// (BOS).
// handling OSCAR protocol requests in the context of the ChatNav service.
func NewChatNavRouter(h Handlers) oscar.Router {
router := oscar.NewRouter()

Expand All @@ -110,7 +109,6 @@ func NewChatNavRouter(h Handlers) oscar.Router {
router.Register(wire.OService, wire.OServiceIdleNotification, h.OServiceChatNavHandler.OServiceHandler.IdleNotification)
router.Register(wire.OService, wire.OServiceRateParamsQuery, h.OServiceChatNavHandler.OServiceHandler.RateParamsQuery)
router.Register(wire.OService, wire.OServiceRateParamsSubAdd, h.OServiceChatNavHandler.OServiceHandler.RateParamsSubAdd)
//router.Register(wire.OService, wire.OServiceServiceRequest, h.OServiceChatNavHandler.ServiceRequest)
router.Register(wire.OService, wire.OServiceSetUserInfoFields, h.OServiceChatNavHandler.OServiceHandler.SetUserInfoFields)
router.Register(wire.OService, wire.OServiceUserInfoQuery, h.OServiceChatNavHandler.OServiceHandler.UserInfoQuery)

Expand Down

0 comments on commit 93b2b81

Please sign in to comment.